Sir how to set duty cycle and frequency in OPWMB, Sir how to set duty cycle and frequency in OPWMB

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

Sir how to set duty cycle and frequency in OPWMB, Sir how to set duty cycle and frequency in OPWMB

912 Views
akhileshverneka
Contributor II

Which registers need to be modified to set duty cycle and frequency in OPWMB in MPC5748G

0 Kudos
4 Replies

685 Views
mariuslucianand
NXP Employee
NXP Employee

Hello akhileshvernekar30@gmail.com‌,

If you want to find out more about the registers, please read the Chapter 35 from the Reference Manual.

Also, you can use the S32 SDK for PA, which provides support for controlling peripherals on MPC5748G. 

Hope this helps,

Marius

0 Kudos

685 Views
mariuslucianand
NXP Employee
NXP Employee

Hello akhileshvernekar30@gmail.com‌,

Are we talking about the Model-Based Design Toolbox for MPC57xx? Do you generate your code from Simulink or you are using the S32DS for PA?

Best Regards,

Marius

0 Kudos

685 Views
akhileshverneka
Contributor II

Sir we are writing a driver code for PWM so we need the registers which

could help to change duty cycle and frequency in MPC5748G

On Wed, 12 Jun 2019, 1:00 pm Marius Lucian Andrei, <admin@community.nxp.com>

0 Kudos

685 Views
akhileshverneka
Contributor II

Sir we want to write driver code for PWM.So which registers should be modified to set duty cycle and frequency

0 Kudos