Hardware requirements
Mini/micro USB cable
FRDM-K32L2A4S board
Personal Computer
Board settings
No special is needed.
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA serial device with these settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Download the code to device flash, do not using debug mode.
Power-off then power-on the board.
Open serial terminal utility with specific COM number, then press “Reset Button” on board.
Do as the message shown in terminal guides.
When the example runs successfully, you can see the similar information from the terminal as below.
Note: The message shown below will different depends on your input character.
============= TSI_V4 Low_Power_Modes Example Start! =============
Please don't touch the touchpad
Press anykey to start TSI low power example
Start calibartion....
Calibrated counters for channel 0 is: 757
Calibrated counters for channel 1 is: 65535
Calibrated counters for channel 2 is: 65535
Calibrated counters for channel 3 is: 65535
Calibrated counters for channel 4 is: 65535
Calibrated counters for channel 5 is: 65535
Calibrated counters for channel 6 is: 805
Calibrated counters for channel 7 is: 666
Calibrated counters for channel 8 is: 607
Calibrated counters for channel 9 is: 1583
Calibrated counters for channel 10 is: 1588
Calibrated counters for channel 11 is: 649
Calibrated counters for channel 12 is: 628
Calibrated counters for channel 13 is: 652
Calibrated counters for channel 14 is: 65535
Calibrated counters for channel 15 is: 747
Let's move to the low power modes world!!!
Press specific key to enter stop mode.
After enter stop modes, touch PAD E1 to wakeup.
Please input the mode you want to enter!
0 ------> STOP MODE
1 ------> VLPS MODE
2 ------> LLS MODE
3 ------> VLLS1 MODE
4 ------> VLLS2 MODE
5 ------> VLLS3 MODE