Example MPC5744P ETimerCountMode S32DS_1.0

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

Example MPC5744P ETimerCountMode S32DS_1.0

Example MPC5744P ETimerCountMode S32DS_1.0

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

* Detailed Description:

* Application performs basic initialization, setup PLL1 to maximum allowed freq. PLL1 is system frequency,

* PLL0 in initialized to 50MHz

* initializes peripherals clock (MOTC_CLK is set to 5MHz)

* initializes ETimer to count mode providing delay

* initializes interrupts, blinking one LED by ETimer interrupt,

*

*

*

* Test HW:         X-MPC5744PE257DC, MPC57xx motherboard

* MCU:             PPC5744PFMMM8 1N65H

* Fsys:            200 MHz

* Debugger:    Lauterbach Trace32

*                      PeMicro USB-ML-PPCNEXUS

* Target:          internal_FLASH (debug mode, release mode)

* EVB connection:  User LED 1 connected to A0 (P8.0),

*

*

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

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1101944%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5744P%20ETimerCountMode%20S32DS_1.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1101944%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*%20Application%20performs%20basic%20initialization%2C%20setup%20PLL1%20to%20maximum%20allowed%20freq.%20PLL1%20is%20system%20frequency%2C%3C%2FP%3E%3CP%3E*%20PLL0%20in%20initialized%20to%2050MHz%3C%2FP%3E%3CP%3E*%20initializes%20peripherals%20clock%20(MOTC_CLK%20is%20set%20to%205MHz)%3C%2FP%3E%3CP%3E*%20initializes%20ETimer%20to%20count%20mode%20providing%20delay%3C%2FP%3E%3CP%3E*%20initializes%20interrupts%2C%20blinking%20one%20LED%20by%20ETimer%20interrupt%2C%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20X-MPC5744PE257DC%2C%20MPC57xx%20motherboard%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5744PFMMM8%201N65H%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20200%20MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode%2C%20release%20mode)%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%26nbsp%3B%20User%20LED%201%20connected%20to%20A0%20(P8.0)%2C%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1101944%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*%20Application%20performs%20basic%20initialization%2C%20setup%20PLL1%20to%20maximum%20allowed%20freq.%20PLL1%20is%20system%20frequency%2C%3C%2FP%3E%3CP%3E*%20PLL0%20in%20initialized%20to%2050MHz%3C%2FP%3E%3CP%3E*%20initializes%20peripherals%20clock%20(MOTC_CLK%20is%20set%20to%205MHz)%3C%2FP%3E%3CP%3E*%20initializes%20ETimer%20to%20count%20mode%20providing%20delay%3C%2FP%3E%3CP%3E*%20initializes%20interrupts%2C%20blinking%20one%20LED%20by%20ETimer%20interrupt%2C%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20X-MPC5744PE257DC%2C%20MPC57xx%20motherboard%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5744PFMMM8%201N65H%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20200%20MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode%2C%20release%20mode)%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%26nbsp%3B%20User%20LED%201%20connected%20to%20A0%20(P8.0)%2C%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1101944%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:
‎01-12-2016 04:06 AM
Updated by: