Hardware requirements
Type-C USB cable
MCX-W72-EVK Board
Personal Computer
Board settings
Please note that this example only for A1 silicon.
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J14.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
The log below shows the output of the power manager test demo in the terminal window:
Power Manager Test.
Please select the desired power mode:
Press A to enter: Sleep
Press B to enter: Deep Sleep
Press C to enter: Power Down
Press D to enter: Deep Power Down
Waiting for power mode select...
Select the wake up timeout in seconds.
The allowed range is 1s ~ 9s.
Eg. enter 5 to wake up in 5 seconds.
Waiting for input timeout value...
3
Will wakeup in 3 seconds.
De-init UART.
Re-init UART.
Next Loop
Please select the desired power mode:
Press A to enter: Sleep
Press B to enter: Deep Sleep
Press C to enter: Power Down
Press D to enter: Deep Power Down
Waiting for power mode select...