Example MPC5744P FlexPWM Init Capture test S32DS21

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

Example MPC5744P FlexPWM Init Capture test S32DS21

No ratings

Example MPC5744P FlexPWM Init Capture test S32DS21

********************************************************************************
* Detailed Description:
*
* This example shows usage of FlexPWM module.
* The Submodule0 is set to generate independent PWMA and PWMB signals
* The PWMX is used as input for the Capture feature.
* Capture logic is set to capture one rising and one falling edge in one shot mode.
* Thus you can check the edge placing and calculate a generated duty cycle.
*
* ------------------------------------------------------------------------------
* Test HW: DEVKIT-MPC5744P rev.D
* Maskset: 1N16P
* Target : FLASH
* Fsys: 200 MHz PLL1
* Debugger: Lauterbach
*
* * EVB connection:
*
* J1.3 - D[9] .. FlexPWM X[0] input
* J1.5 - A[11] .. FlexPWM A[0] output
* J1.7 - A[10] .. FlexPWM B[0] output
*
*
* to measure generated pulse connect X[0] input with either A[0] or B[0] outputs.
*
********************************************************************************

Attachments
Version history
Last update:
‎12-02-2021 01:33 PM
Updated by: