Hardware requirements
Micro USB cable
TWR-KM35Z75M board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
9600 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
When running the demo, the debug console shows the menu to command the MCU to the target power mode.
NOTE: Only input when the demo asks for input. Input entered at any other time might cause the debug console to overflow and receive the wrong input value.
#################### Power Manager Demo ####################
Core Clock = 71991296Hz
Power mode: RUN
Select the desired operation
Press A for enter: RUN - Normal RUN mode
Press B for enter: WAIT - Wait mode
Press C for enter: STOP - Stop mode
Press D for enter: VLPR - Very Low Power Run mode
Press E for enter: VLPW - Very Low Power Wait mode
Press F for enter: VLPS - Very Low Power Stop mode
Press G for enter: VLLS0 - Very Low Leakage Stop 0 mode
Press H for enter: VLLS1 - Very Low Leakage Stop 1 mode
Press I for enter: VLLS2 - Very Low Leakage Stop 2 mode
Press J for enter: VLLS3 - Very Low Leakage Stop 3 mode
Waiting for power mode select..