3.
Xplained Nano
Xplained Nano is an evaluation platform that provides a set of small boards with access to all microcontroller I/O’s.
The platform consists of a series of low pin count Microcontroller (MCU) boards, which are integrated with Atmel
Studio/Microchip MPLAB
®
X IDE to present relevant user guides, application notes, data sheets, and example code
through Atmel Studio/Microchip MPLAB
®
X IDE. The platform also features a Virtual COM port for serial
communication to a host PC.
3.1
Mini Embedded Debugger
The ATtiny416 Xplained Nano contains the Mini Embedded Debugger (mEDBG) for on-board programming and
debugging. The mEDBG is a composite USB device of two interfaces: a debugger and a virtual COM port.
Together with Atmel Studio, the mEDBG debugger interface can program and debug the ATtiny416. On ATtiny416
Xplained Nano, the UPDI interface is connected between the mEDBG and the ATtiny416.
The virtual COM port is connected to a UART on the ATtiny416 and provides an easy way to communicate with the
target application through the terminal software. It offers variable baud rate, parity, and Stop bit settings.
Note:
The settings on the ATtiny416 must match the settings given in the terminal software.
Info:
The virtual COM port in the mEDBG requires the terminal software to set the Data Terminal Ready
(DTR) signal to enable the UART pins connected to the ATtiny416. If the DTR signal is not enabled the
UART pins on the mEDBG are kept in high-z (tri-state), rendering the COM port unusable. The DTR signal
is automatically set by some terminal software, but it may have to be manually enabled in the target
terminal.
The mEDBG controls one status LED on the ATtiny416 Xplained Nano. The table below shows how the LED is
controlled in different operation modes.
Table 3-1. mEDBG LED Control
Operation Mode
Status LED
Power-up
LED is briefly lit
Normal operation
LED is not lit
Programming
Activity indicator; the LED flashes when programming/
debugging with the mEDBG
3.1.1
Xplained Nano Clock Output
The mEDBG outputs its CPU clock to the
CLK
pin 8, as shown in
3.3 Xplained Nano Standard Pinout
. The clock
output can be used to feed the target device with a more accurate clock if this is needed for the application.
3.2
Power Sources
The kit can be powered by different sources. By default the kit will have a 5V supply and the voltage is taken directly
from the USB port through a 500 mA PTC fuse. The voltage from the USB connector can vary between 4.4V to 5.25V
(according to USB spec).
If other voltages are required, the kit must be disconnected from the USB to avoid damage or contention to the USB
power. The mEDBG must also be disconnected from the target section of the board. The board can be powered by
applying a voltage to one of the power connections on the board, according to the table below. To avoid any power
leakage through the mEDBG, this should also be disconnected by removing the resistors shown in
. For
placement of power connections, see
3.3 Xplained Nano Standard Pinout
.
ATtiny416 Xplained Nano
Xplained Nano
©
2019 Microchip Technology Inc.
User Guide
DS50002683B-page 6