Pin Configurations

The connections configured to interface the QT2 Xplained Pro extension board are shown in the table. Apart from touch and the LED matrix, an optional USART interface on the Curiosity Nano Virtual COM port is configured to debug the touch data using the 2D Touch Surface utility.

Table 1. Pin Details for Snake Game Demo
Serial Number Pin Name Port Peripheral Pin Function
1 SDA PC2 TWI_0 LED Mux I2C
2 SCL PC3 TWI_0 LED Mux I2C
3 X1 PD2 PTC QT2 Touch X-line
4 X2 PD3 PTC QT2 Touch X-line
5 X3 PA6 PTC QT2 Touch X-line
6 X4 PD4 PTC QT2 Touch X-line
7 Y1 PD6 PTC QT2 Touch Y-line
8 Y2 PA5 PTC QT2 Touch Y-line
9 Y3 PD7 PTC QT2 Touch Y-line
10 Y4 PA4 PTC QT2 Touch Y-line
11 Tx PC1 USART_2 Debug UART
12 Rx PC0 USART_2 Debug UART