Associate
January 17, 2019
Question
Using TIM1 for get two positive pulses.
- January 17, 2019
- 4 replies
- 2242 views
Hello.
I using uC STM32F030F4P6. I need generate sequence positive pulses with help TIM1. Please see graph in the attachment. The first, must generate one positive puls with weight 1us on the channel 1 after this, must generate pulse with weight 6-16us on the second channel and after this I need to pause up to 1s. The falling edge of the first pulse must be maximaly sinchronous with rising edge of the second pulse. Pulses weight must be maximaly accurate. It mode must be work maximaly autonomus.
I may use pair TIM1_CH3 and TIM1_CH3N or pair TIM1_CH3 and TIM1_CH2.
Today I can not do it without using main core.
Say me please, how I may do it?
Best regards,
Sergey Gaidashyov.
