Example MPC5777M PinToggleStationery S32DS_1.0

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

Example MPC5777M PinToggleStationery S32DS_1.0

Example MPC5777M PinToggleStationery S32DS_1.0

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

* Detailed Description:

* Application performs basic initialization, setup PLL to maximum allowed freq.,

* start both Z7 cores, interrupts initialization, blinking three LED by interrupts,

* initializes and display notice via UART terminal and then terminal ECHO.

* Each core serves one interrupt and one LED.

*

* The example configures the device for maximum performance by initialization of

* instruction/data cache and enabling of branch prediction for each core

* (startup.s files).

*

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

* Test HW:         MPC5777M-512DS, MPC57xx Motherboard

* MCU:             PPC5777MQMVA8 0N78H

* Terminal:        19200-8-no parity-1 stop bit-no flow control on LINFlexD_2

* Fsys:               600MHz

*

* Debugger:        Lauterbach Trace32

*                  PeMicro USB-ML-PPCNEXUS

* Target:          internal_FLASH (debug mode, release mode)

* EVB connection:  USER LED1 connected to P8.0, LED2 connected to P8.1

*                  LED3 connected to P8.2

*

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

Labels (1)
Attachments
Comments

Thanks,

How do you compile the code? What compiler did you use?

Thanks

Phil

%3CLINGO-SUB%20id%3D%22lingo-sub-1102260%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5777M%20PinToggleStationery%20S32DS_1.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1102260%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%20PLL%20to%20maximum%20allowed%20freq.%2C%3C%2FP%3E%3CP%3E*%20start%20both%20Z7%20cores%2C%20interrupts%20initialization%2C%20blinking%20three%20LED%20by%20interrupts%2C%3C%2FP%3E%3CP%3E*%20initializes%20and%20display%20notice%20via%20UART%20terminal%20and%20then%20terminal%20ECHO.%3C%2FP%3E%3CP%3E*%20Each%20core%20serves%20one%20interrupt%20and%20one%20LED.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20The%20example%20configures%20the%20device%20for%20maximum%20performance%20by%20initialization%20of%3C%2FP%3E%3CP%3E*%20instruction%2Fdata%20cache%20and%20enabling%20of%20branch%20prediction%20for%20each%20core%3C%2FP%3E%3CP%3E*%20(startup.s%20files).%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC5777M-512DS%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%20PPC5777MQMVA8%200N78H%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20LINFlexD_2%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%26nbsp%3B%26nbsp%3B%26nbsp%3B%20600MHz%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%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%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%20LED1%20connected%20to%20P8.0%2C%20LED2%20connected%20to%20P8.1%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%20LED3%20connected%20to%20P8.2%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1102260%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%20PLL%20to%20maximum%20allowed%20freq.%2C%3C%2FP%3E%3CP%3E*%20start%20both%20Z7%20cores%2C%20interrupts%20initialization%2C%20blinking%20three%20LED%20by%20interrupts%2C%3C%2FP%3E%3CP%3E*%20initializes%20and%20display%20notice%20via%20UART%20terminal%20and%20then%20terminal%20ECHO.%3C%2FP%3E%3CP%3E*%20Each%20core%20serves%20one%20interrupt%20and%20one%20LED.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20The%20example%20configures%20the%20device%20for%20maximum%20performance%20by%20initialization%20of%3C%2FP%3E%3CP%3E*%20instruction%2Fdata%20cache%20and%20enabling%20of%20branch%20prediction%20for%20each%20core%3C%2FP%3E%3CP%3E*%20(startup.s%20files).%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC5777M-512DS%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%20PPC5777MQMVA8%200N78H%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20LINFlexD_2%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%26nbsp%3B%26nbsp%3B%26nbsp%3B%20600MHz%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%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%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%20LED1%20connected%20to%20P8.0%2C%20LED2%20connected%20to%20P8.1%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%20LED3%20connected%20to%20P8.2%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1102260%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1102261%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Example%20MPC5777M%20PinToggleStationery%20S32DS_1.0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1102261%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EHow%20do%20you%20compile%20the%20code%3F%20What%20compiler%20did%20you%20use%3F%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EPhil%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎03-09-2016 08:08 AM
Updated by: