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
*
*
********************************************************************************