How to use PWM function on S32R372?

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

How to use PWM function on S32R372?

803 Views
Kidd
Contributor I

I would like to use PWM  (FlexPWM0 submoudle3  A3 & X3 2channel )function to control 2 LEDs via TI Dual-Channel Smart High-Side Power Switch.    

 

Use the internal clock.

Can switch the duty cycle. (25% / 50%)

How to config / init / start PWM on S32R372 ?  Could anyone provide the sample code ?

0 Kudos
Reply
1 Reply

726 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you please specify if you are using some drivers, or you are asking for bare metal code example / explanation?

best regards,

Peter

0 Kudos
Reply