2020-03-26 04:24 AM
Hi guys,
I'm using STM32CubeIDE with STM32F030C6 at 48Mhz.
I'm trying to generate the graph below in my application, but I only have Timer 16 and 17 available. Is this possible? Could someone give me a tip? Thanks!
Solved! Go to Solution.
2020-03-26 06:21 AM
Yes, it's possible.
Using interrupts:
Using the other timer as a 1s timebase:
2020-03-26 05:49 AM
Can't you generate the waveform on the output pins from some of these timer's channel, as PWM?
Frequency then can be changed in any other convenient way, e.g. using the systick interrupt.
JW
2020-03-26 06:21 AM
Yes, it's possible.
Using interrupts:
Using the other timer as a 1s timebase: