Hardware requirements
Micro USB cable
FRDM-KE17Z512 board
NXP FRDM-TOUCH board (expand the NXP Touch library features enabling to change LED’s hue or brightness and demonstrating mutual sensing keypad)
Personal Computer
Board settings
The default 5 voltage power supply is recommended for correct demo operation.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Download the program to the target board.
Download a FreeMASTER tool (from: http://www.nxp.com/freemaster, version 3.2) and install the FreeMASTER
Open the FreeMASTER project NXPTouch.pmpx file from: MCUXpresso SDK\middleware\touch\freemaster\ and choose Project -> Options… from FreeMASTER menu.
In Comm tab set the COM_ALL option or port created by the MCU board.
Set the Speed to 19200 baud rate.
Continue with help of the NXP Touch Library Reference Manual (Chapter 8 Examples or Chapter 5 Touch GUI Tool).
Running the demo
The control page in FreeMASTER should show changing values from TSI measurement. The Led on FRDM-KE17Z512 board should change the color after detected touch event. In case the red color shine without touching demo, debug the main function of application, code comments should explain wrong setting and find the solution. More information can be found in the NXP Touch Library Reference Manual (Chapter 8 Examples). In this example the keypad electrode part of setup is configured by tunning tool from Application Code Hub.