Using the STM32H757i-EVAL HRTIM, Timer A to generate a square wave. This is working as expected in continuous mode. Rather than run in continuous mode, I would like to specify the number of pulses generated. For example, 10 pulses then stop.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-02-24 9:49 AM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-05-25 5:51 AM
Hello,
The FW solution would be enabling the interrupt of roll-over with a counter and disable the waveformoutput after reaching the value of 10 interrupts.
Otherwise, the HW solution would be: the use of single-shot mode (with PER/CMP to set/reset channel) and the Chopper to generate pulses with the number (and characteristics) you want.
Best regards.
Yassine.
