MCUXpresso SDK Documentation

utick_wakeup_peripheral

utick_wakeup_peripheral#

Overview#

The purpose of this demo is to show wakeup from deep sleep mode using MicroTick timer. The demo sets the MicroTick Timer as a wake up source and puts the device in deep-sleep mode. The MicroTick timer wakes up the device. The code of this demo has been prepared and updated for use with the MCUXpresso Configuration Tools (Pins/Clocks/Peripherals).

Supported Boards#

LPCXpresso51U68
Hardware requirements
  • Mini/micro USB cable

  • LPCXpresso51U68 board

  • Personal Computer

Board settings
  1. Pin P0_21 is used as a CLKOUT signal. Connect this pin to an Oscilloscope for viewing the signal.

Running the demo

The demo sets the MicroTick Timer as a wake up source and puts the device in deep-sleep mode. The MicroTick timer wakes up the device. After wake up the Green LED on the board blinks and a CLKOUT signal can be seen on pin P0_21.

LPCXpresso54628
Hardware requirements
  • Micro USB cable

  • LPCXpresso54628 board

  • Personal Computer

Board settings
  1. Pin P3_12(j12-9) is used as a CLKOUT signal. Connect this pin to an Oscilloscope for viewing the signal.

Running the demo

The demo sets the MicroTick Timer as a wake up source and puts the device in deep-sleep mode. The MicroTick timer wakes up the device. After wake up the LED3 on the board blinks and a CLKOUT signal can be seen on pin P3_12. The demo is not recommended to use debug mode In MCUXpresso, POWER_EnterDeepSleep () will kill the debug session.