stm32f105 development record

Publisher:心有归属Latest update time:2017-07-13 Source: eefocusKeywords:stm32f105 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

I found that when I press a keyboard key, I can immediately send a release action, and I can't release the key. After measurement, there must be a certain delay in the middle, and some say that the corresponding processing is done in the callback after sending. I didn't find the callback after sending. I used a delay of several milliseconds. The specific milliseconds need to be measured. I can send the release key action with a delay of about 2ms.


The serial port of stm32f205, despite using the flag bit judgment, still cannot send quickly, and a certain delay operation is still required in the middle. I feel that the difference between stm32f205 and stm32f103 is a bit big. At least stm32f103 can send the second byte immediately after the flag bit is reset after judging the completion of sending. But 205 does not work at all. There must be a delay.


The design of LED flashing usually uses delay, which affects efficiency. Using a timer to flash LED has a good effect, with a timing of ms level, and each timer interruption can light up or turn off the LED.


Keyboard acquisition method: interruption and sampling are both acceptable. Sampling method: capture, record, and process! Interruption is more timely.


Keywords:stm32f105 Reference address:stm32f105 development record

Previous article:Understanding ARM Compact Memory TCM
Next article:STM32 internal flash reading and writing program

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号