Tip:
The touch buttons in the kit are placed on the inner layers of the PCB and have a very small overlay.
Due to the short distance from the sensor to the touch area, it might be oversensitive. Different overlays
can be used to avoid saturation of the sensor.
Table 4-7. QTouch
®
Connection
ATtiny3217 Pin
Silkscreen Text
Shared Functionality
PA7
QT BTN1
PA6
QT BTN2
4.4
Embedded Debugger Implementation
The ATtiny3217 Xplained Pro contains an Embedded Debugger (EDBG), which can be used to program and debug
the ATtiny3217 using Unified Program Debug Interface (UPDI). The Embedded Debugger also includes a Virtual
COM Port interface over UART, a Data Gateway Interface over SPI, I
2
C, and two ATtiny3217 GPIOs. The kit also
includes an XAM extension processor to the Embedded Debugger for on-board current measurement. Atmel Studio
can be used as a front-end for the Embedded Debugger.
4.4.1
Unified Program Debug Interface
The Unified Program Debug Interface (UPDI) uses one pin to communicate with the target. For further information on
how to use the programming and debugging capabilities of the EDBG, see section
.
Table 4-8. UPDI Connections
ATtiny3217 Pin
Function
Shared Functionality
PA0
UPDI interface
4.4.2
Virtual COM Port
The Embedded Debugger acts as a Virtual COM Port gateway by using one of the ATtiny3217 UARTs. For further
information on how to use the Virtual COM Port, see section
Table 4-9. Virtual COM Port Connections
ATtiny3217 Pin
Function
Shared Functionality
PB2
UART TXD (ATtiny3217 TX line)
PB3
UART RXD (ATtiny3217 RX line)
4.4.3
Data Gateway Interface
The Embedded Debugger features a Data Gateway Interface (DGI) by using either an SPI or I²C. The DGI can be
used to send a variety of data from the ATtiny3217 to the host PC. For further information on how to use the DGI
interface, see the
Table 4-10. DGI Interface Connections when using SPI
ATtiny3217 Pin
Function
Shared Functionality
PC4
SPI SS (Slave select) (ATtiny3217 is Master) -
PC2
SPI MOSI
(Master Out, Slave In)
PC1
SPI MISO
(Master In, Slave Out)
PC0
SPI SCK
(Clock Out)
ATtiny3217 Xplained Pro
Hardware User Guide
©
2020 Microchip Technology Inc.
User Guide
DS50002765B-page 17