You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DeveloperAlpha 48b48663ce -u origin main 3 months ago
..
EIDE -u origin main 3 months ago
EWARM -u origin main 3 months ago
Inc -u origin main 3 months ago
MDK-ARM -u origin main 3 months ago
Src -u origin main 3 months ago
readme.txt -u origin main 3 months ago

readme.txt

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

================================================================================
                                样例使用说明
                                Sample Description
================================================================================
功能描述:
此样例演示了在TIM1中使用DMA连续两次burst传输数据的功能burst每传输一次更新三
个寄存器PSC,ARR,RCR在更新事件中断中LED会闪烁通过逻辑分析仪监测可看到
LED的翻转间隔会从第一次的2s第二次2s第三次1s,第四次及后续变为0.5s,此时两次
burst传输完成并且PCS,ARR,RCR均更新完毕。

Function descriptions:
This sample demonstrates the function to transfer data in TIM1 using DMA in two 
consecutive bursts.burst updates three registers(PSC,ARR,RCR) per transfer.In 
the interruption of update event, LED will be blinked. Through the monitoring of
logic analyzer, it can be seen that the flipping interval of LED will change 
from 2s for the first time, 2s for the second time, 1s for the third time, and 
0.5s for the fourth and subsequent times. At this time, the two burst
transmission is completed, and PCS、ARR and RCR are all updated.
================================================================================
测试环境:
测试用板PY32F403_STK
MDK版本 5.28
IAR版本 9.20
GCC版本GNU Arm Embedded Toolchain 10.3-2021.10

Test environment:
Test board: PY32F403_STK
MDK Version: 5.28
IAR Version: 9.20
GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10
================================================================================
使用步骤:
1. 下载并运行程序
2. 观察LED闪烁频率越来越快

Example execution steps:
1. compile and download the program to MCU and run it;
2. Observe the LED flashing frequency getting faster and faster
================================================================================
注意事项:

Notes:

================================================================================