1972611_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

1972611_en-US

1972611_en-US

PWM

Hello,

I am using the iMXRT1176DVMAA for PWM output, I have noticed that the maximum period I can produce is approx 34ms (src clock 240MHz with prescalar : DIV_BY_128, fclk = 1.875 Mhz )
what if I want to generate a 50 ms period ?
note that I have used the driver SDK example and MCUXpresso IDE.

thank you.

Re: PWM

Hi @D_D97 ,


Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you.

I import a SDK demo"evkbmimxrt1170_pwm_cm7" , use MIMXRT1170-EVKB board.

1:  Modify PWM1 root clock(BUS_CLK_ROOT) as  24MHz;

2: Modify code " #define APP_DEFAULT_PWM_FREQUENCY (20UL)//(1000UL)" 

3: Used an oscilloscope to test J25-7 pin, and the PWM cycle of this pin is 50ms, 20Hz.

mayliu1_2-1728875447478.png

mayliu1_4-1728875736354.png


mayliu1_3-1728875522473.jpeg

I think you can refer to what I did above.

Wish it helps you.
If you still have question about it, please kindly let me know.

Best Regards

mayliu

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 04:14 PM
Updated by: