Example MPC5748G Low power modes S32DS_2017.R1

File uploaded by Martin Kovar Employee on Jun 24, 2019
Version 1Show Document
  • View in full screen mode

********************************************************************************
* Detailed Description:
* Application performs basic initialization, setup PLL to maximum allowed
* frequency
*
* User can choose, which low power mode should be entered. There is LPU_MODE
* macro defined, which allows to choose STOP, STANDBY or LPU_RUN mode.
*
* If LPU_RUN mode is selected, user can use macro LPU_STOP_SLEEP_STANDBY,
* which allows to choose LPU_STOP, LPU_SLEEP or LPU_STANDBY mode.
*
* Ther is also RTC initialized, which wakeup microcontroller using WKPU after
* 5 seconds from some of the LPU is entered. RTC uses FIRC as a source clock,
* so FIRC must be enabled in all low power modes.
*
*
* Modified files: mem.ld, sections.ld, startup.s, added file z2_restart.s
*
*
* ------------------------------------------------------------------------------
* Test HW:         MPC5748G-324DS, MPC574xG Motherboard
* MCU:             PPC5748GMMN6A 0N78S
* Fsys:            PLL0 160MHz
* Debugger:        Lauterbach Trace32
*                  PeMicro USB-ML-PPCNEXUS
* Target:          internal_FLASH (debug mode, release mode)
* EVB connection:  USER LED1 to A1
*                    USER LED2 to A2
*
*
*
********************************************************************************

Attachments

Outcomes