User manual

www.ti.com
LaunchPad Capacitive Touch BoosterPack User Experience Software
5.3 UART Communication Protocol
For each event (wake up, go to sleep, touch/press, or gesture), a UART packet of two bytes is sent via the
application UART backchannel of the LaunchPad. The packets are specified as follows:
WAKE UP [due to proximity sensor detection]: 0xBE 0xEF
SLEEP [after period of inactivity]: 0xDE 0xAD
CENTER BUTTON PRESS: 0x80 0x80
WHEEL POSITION TOUCH/PRESS: 0x3z 0x3z
z = touch position 0x0 to 0xF, one nibble
GESTURE START: 0xFC 0x2z
z = touch position 0x0 to 0xF, one nibble
GESTURE STOP: 0xFB 0xFB
GESTURE and GESTURE END POSITION : 0xGG 0x2
GG = a binary number
MSB is direction: 0 = clockwise, 1 = counter-clockwise
7 LSBs = count of gesture movement
z = ending position of the immediate gesture, 0x0 to 0xF, one nibble.
The PC application can receive and decipher the UART information to translate it into appropriate actions.
21
SLAU337A April 2011 Revised September 2011 430BOOST-SENSE1 - Capacitive Touch BoosterPack for the LaunchPad
Submit Documentation Feedback
Copyright © 2011, Texas Instruments Incorporated