Example MPC5744P FlexPWM init with DMA reload

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

Example MPC5744P FlexPWM init with DMA reload

Example MPC5744P FlexPWM init with DMA reload

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

* Detailed Description:

*

* This example shows usage of FlexPWM to generate independent

* PWM signals from Submodule0. The PWMX output is set for 50% duty.

* PWMA/PWMB outputs vary its duty cycles.

* The DMA module is used to reload VAL2-5 registers.

*

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

* Test HW:  MPC57xx

* Maskset:  1N65H

* Target :  RAM, internal_FLASH

* Fsys:     200 MHz PLL with 40 MHz crystal reference

*

* EVB connection:

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

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

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

*

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

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1109135%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5744P%20FlexPWM%20init%20with%20DMA%20reload%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1109135%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20This%20example%20shows%20usage%20of%20FlexPWM%20to%20generate%20independent%3C%2FP%3E%3CP%3E*%20PWM%20signals%20from%20Submodule0.%20The%20PWMX%20output%20is%20set%20for%2050%25%20duty.%3C%2FP%3E%3CP%3E*%20PWMA%2FPWMB%20outputs%20vary%20its%20duty%20cycles.%3C%2FP%3E%3CP%3E*%20The%20DMA%20module%20is%20used%20to%20reload%20VAL2-5%20registers.%3C%2FP%3E%3CP%3E*%20%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%20MPC57xx%3C%2FP%3E%3CP%3E*%20Maskset%3A%26nbsp%3B%201N65H%3C%2FP%3E%3CP%3E*%20Target%20%3A%26nbsp%3B%20RAM%2C%20internal_FLASH%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20200%20MHz%20PLL%20with%2040%20MHz%20crystal%20reference%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%3C%2FP%3E%3CP%3E*%20P8.12%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20A%5B11%5D%20..%20FlexPWM%20A%5B0%5D%20output%20%3C%2FP%3E%3CP%3E*%20P8.11%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%20A%5B10%5D%20..%20FlexPWM%20B%5B0%5D%20output%3C%2FP%3E%3CP%3E*%20P11.10%20-%20D%5B9%5D%20..%20FlexPWM%20X%5B0%5D%20output%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1109135%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎08-13-2015 05:09 AM
Updated by: