MCUXpresso SDK Documentation

utick_wakeup

utick_wakeup#

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.

Supported Boards#

FRDM-MCXW23
Hardware requirements
  • Type-C USB cable

  • FRDM-MCXW23 Board

  • Personal Computer

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

Prepare the Demo
  1. Connect a USB cable between the host PC and the FRDM board J10.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The demo sets the MicroTick Timer as a wake up source and puts the device in sleep mode. The MicroTick timer wakes up the device.

After wake up:

(1)The blue LED on the board blinking. (2)CLKOUT signal changing can be seen on pin J1_6. And the frequency of output signal will double.

If the demo run successfully, you will see the log from debug console:

Utick wakeup demo start...
Wakeup from sleep mode...

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.

LPCXpresso55S06
Hardware requirements
  • Micro USB cable

  • LPCXpresso55S06 board

  • Personal Computer

Board settings
  1. J13-1(PIO0_16) 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 sleep mode. The MicroTick timer wakes up the device.

After wake up:

(1)the red LED on the board blinking. (2)CLKOUT signal changing can be seen on J13-1. And the frequency of output signal will double.

If the demo run successfully, you will see the log from debug console:

Utick wakeup demo start...
Wakeup from sleep mode...

LPCXpresso55S16
Hardware requirements
  • Micro USB cable

  • LPCXpresso55S16 board

  • Personal Computer

Board settings
  1. J13-1(PIO0_16) is used as a CLKOUT signal. Connect this pin to an Oscilloscope for viewing the signal. The jumper setting: Default jumpers configuration does not work, you will need to add JP20 and JP21 (JP22 optional for ADC use)

Running the demo

The demo sets the MicroTick Timer as a wake up source and puts the device in sleep mode. The MicroTick timer wakes up the device.

After wake up:

(1)the red LED on the board blinking. (2)CLKOUT signal changing can be seen on J13-1. And the frequency of output signal will double.

If the demo run successfully, you will see the log from debug console:

Utick wakeup demo start...
Wakeup from sleep mode...

LPCXpresso55S28
Hardware requirements
  • Micro USB cable

  • LPCXpresso55S28 board

  • Personal Computer

Board settings
  1. Pin P19_2 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 sleep mode. The MicroTick timer wakes up the device.

After wake up:

(1)the red LED on the board blinking. (2)CLKOUT signal changing can be seen on pin P19_2.And the frequency of output signal will double.

If the demo run successfully, you will see the log from debug console:

Utick wakeup demo start...
Wakeup from sleep mode...

LPCXpresso55S36
Hardware requirements
  • Micro USB cable

  • LPCXpresso55S36 board

  • Personal Computer

Board settings
  1. J132-4(PIO0_16) 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 sleep mode. The MicroTick timer wakes up the device.

After wake up:

(1)the red LED on the board blinking. (2)CLKOUT signal changing can be seen on J132-4. And the frequency of output signal will double.

If the demo run successfully, you will see the log from debug console:

Utick wakeup demo start...
Wakeup from sleep mode...

LPCXpresso55S69
Hardware requirements
  • Micro USB cable

  • LPCXpresso55s69 board

  • Personal Computer

Board settings
  1. Pin P19_2 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 sleep mode. The MicroTick timer wakes up the device.

After wake up:

(1)the red LED on the board blinking. (2)CLKOUT signal changing can be seen on pin P19_2.And the frequency of output signal will double.

If the demo run successfully, you will see the log from debug console:

Utick wakeup demo start...
Wakeup from sleep mode...

MCXW23-EVK
Hardware requirements
  • Mini/micro USB cable

  • MCXW23-EVK Board

  • Personal Computer

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

Prepare the Demo
  1. Connect a USB cable between the host PC and the EVK board J33.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

The demo sets the MicroTick Timer as a wake up source and puts the device in sleep mode. The MicroTick timer wakes up the device.

After wake up:

(1)The red LED on the board blinking. (2)CLKOUT signal changing can be seen on pin J21_2. And the frequency of output signal will double.

If the demo run successfully, you will see the log from debug console:

Utick wakeup demo start...
Wakeup from sleep mode...