Skip to main content
Alex Z
Associate
August 2, 2017
Question

STM32F0 generate signal on TIM3 with DMA

  • August 2, 2017
  • 0 replies
  • 808 views
Posted on August 02, 2017 at 03:34

Hi All,

I am a newbie of STM32 developing. The board I am using is nucleo-f030R8. Right now I am trying to generate some pattern signals on timer3 like following waveform:

0690X00000603zVQAQ.jpg

An interrupt enables tim3, channel 1 will wait 150 micro secs, then generate 2 pulses (150 micro secs and 200 micro secs). channel 2 will generate 2 pulse (200 micro secs and 250 micro secs)

I read the

reference

 manual and ''general-purpose timer cookbook'', thought I might need to use DMA burst feature with tim3. I have tried with the example code on reference manual, but not know how to config for channel 2?

Or is there any good way to implement this? Please HELP!

Thanks!

    This topic has been closed for replies.