AN4776 STM32f303 Swap Tim1 and Tim2 N-pulse waveform generation application example - part 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-14 7:12 AM
Hi,
it's possible to swap Tim1 and Tim2 to use the example N-pulse waveform generation application example - part 1?
Bests
Pedahl
Labels:
- Labels:
-
Documentation
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-14 9:21 AM
You have to observe the differences between the two timers:
- TIM1 is Advanced timer, so it needs to have TIM1_BDTR.MOE be set for outputs to be enabled
- you would need to use a different DMA channel, see DMA channel mapping in DMA chapter of RM
JW
