2 micro second period with pwm output in stm32f373RCT6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-19 6:36 AM
Hi!,
I am trying to generate pulse with PWM output with 2 micro second period and 50% duty cycle on STM32F373RCT6 on custom board. I have used Timer5.
APB1 frequency is 70MHz.
Prescalar value is 69 to generate counter clock frequency of 1MHz.
ARR value is 2 to give period value of 2 micro second.
Pulse width is 1 to generate 50% duty cycle.
But PWM Output frequency is coming 1.11khz (900 micro second).
Please help me in this matter. If any other information required please let me know.
Regards,
Gaurav
- Labels:
-
STM32F3 Series
-
TIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-21 5:50 AM
Because your PLL and clock source setup is wrong or failed.
Output clocks via PA8 MCO and check them
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-21 5:52 AM
>>If any mistake I did please let me know
52.63 KHz x 140 is approximately 8 MHz, not 70 MHz
Poor frequency suggests running from HSI not PLL
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-25 3:05 AM
I will check.

- « Previous
-
- 1
- 2
- Next »