PWM using Timer DMA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-29 5:01 AM - edited ‎2023-08-29 5:04 AM
Here i am trying to generate a 24 bit PWM signal using timer 2 in STM32F401RE controller. I followed as per the steps only but still i not getting any output waveform on my logic analyzer. Please share your suggestions.
void tim_init();
- Labels:
-
DMA
-
STM32F4 Series
-
TIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-29 8:35 AM
Hello @DJ1,
Did you set a value of CCR1 anywhere else in the code?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-29 8:41 PM
Nope, i am just giving the address of CCR1 register in the DMA_PAR register. No where else.
