Home > other >  [transfer] AT32F4xx_TMR_OCActive output
[transfer] AT32F4xx_TMR_OCActive output

Time:11-05

The sample purpose
Demonstrate the use of AT32F4xx_TMR_OCActive output method,


Support type list
AT32F403xx
AT32F403Axx
AT32F407xx
AT32F413xx
AT32F415xx


Main use peripherals list
TMR, GPIO


Fast use method 1
1.1 hardware resources
1) AT the START - F403A V1.0 development board (other models please use the corresponding development board)
Figure 1. The AT - START - F403A V1.0 development board

2) TMR3 CH1 to CH4 output waveform



1.2 software resources1) the SourceCode
TMR_OCActive_V1. 0.0 source program
Note: all the project is based on the keil 5, if the user needs to use on the other compiler environment, please refer to the BSP_PACK_V1. 7.0.x.x \ BSPs \ AT32F4xx_StdPeriph_Lib_V1 7.0.x.x \ project \ Templates in a variety of compilation environment (for example IAR6/7, keil 4/5) can be an easy fix,


1.3 sample use
1) open the TMR_OCActive_V1. 0.0 source code, download the compiled to experiment board
2) the experiment using the AT - START - F403A V1.0 development board, so the choice AT32F403A project engineering
Figure 2. Keil projects choose

3) in order to facilitate observation of phenomena, the waveform with logic analyzer TMR3 channel 1 to 4 are out, in order to know the starting point of the waveform, so to initialize a GPIOC. 6 as the starting point marks,
Figure 3. Run the results


Note: routine code and documentation, please check the following path, https://bbs.21ic.com/icview-3042430-1-1.html? _dsign=edc81912
  • Related