Good day all, I started playing with the PWM macrocell on DUE few weeks ago, and I wonder is it possible to generate pulses precisely using PWM macrocell？(Q1)
I havent explore with Timer Counter(TC) on DUE, and I found out that there is pulse generation function in TC, so is it better to use TC instead of PWM to generate precise amount of pulses? (Q2)
The pulses need to be generated in high frequency up to 250kHz, I chose PWM at first because it can easily manipulate the frequency of the output by changing the value of PRE, DIV, CPRD, CDTY etc, but now I believe that the PWM macrocell is not meant for pulse generation(maybe? or there are some ways to achieve this).
I'm looking for someone to point me to correct direction to generate precise amount of pulses using DUE.