Example MPC5604P FlexPWM Initialization on TRK board

cancel
Showing results for 
Search instead for 
Did you mean: 

Example MPC5604P FlexPWM Initialization on TRK board

No ratings

Example MPC5604P FlexPWM Initialization on TRK board

This simple example shows usage of the FlexPWM module on the TRK board.

If a PWM output is connected to the LED you can see its dimming.

 

Regards,

Petr

 

********************************************************************************

* Detailed Description:

*

* This example shows usage of FlexPWM module.

* The Submodule0 is set to generate independent PWMA and PWMB signals and vary

* its duty cycles. The PWMX is also enabled as output and is set for fixed 50%

* duty.

*  

* You can remove LED_EN jumpers and connect FlexPWM A an B outputs to LEDs to see

* its dimming.

*

* ------------------------------------------------------------------------------

* Test HW: TRK-MPC5604P

* Maskset:  0M36W

* Target : internal_RAM

* Terminal: no

* Fsys:     64 MHz with 8 MHz XOSC reference

* Debugger: IDCPPCNEXUS

*

* TRK board connection:

*

* P4.10 - D[9]  .. FlexPWM X[0] output

* P1.11 - A[10] .. FlexPWM B[0] output

* P1.12 - A[11] .. FlexPWM A[0] output

*

*

  ********************************************************************************

Labels (1)
Attachments
Comments


Hi

Version history
Revision #:
1 of 1
Last update:
‎02-27-2014 12:26 AM
Updated by: