background image

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 

Figure 3-3

. 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

Содержание ATtiny416 Xplained Nano

Страница 1: ...d by the Atmel Studio and MPLAB X integrated development platform the kit provides easy access to the features of the ATtiny416 and explains how to integrate the device into a custom design The Xplain...

Страница 2: ...rement 9 4 3 Peripherals 10 5 Embedded Debugger Implementation 11 5 1 UPDI 11 5 2 Virtual COM Port 11 6 Hardware Revision History and Known Issues 12 6 1 Identifying Product ID and Revision 12 6 2 Fus...

Страница 3: ...latform to evaluate the ATtiny416 Figure 1 1 ATtiny416 Xplained Nano Evaluation Kit Overview NC UPDI NC NC VREG VUSB GND CLK OUT CDCTX CDC RX VCC PA0 PA1 PA2 PA3 PA4 PA5 GND PC3 PC2 PC1 PC0 PB0 PB1 Mi...

Страница 4: ...Uno compatible header footprint and a prototyping area Xplained Pro used for medium to high pin count devices that features advanced debugging and standardized extensions for peripheral functions Note...

Страница 5: ...ATtiny416 Xplained Nano on Microchip Direct Purchase this kit on microchipDirect ATtiny416 Xplained Nano Getting Started 2019 Microchip Technology Inc User Guide DS50002683B page 5...

Страница 6: ...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...

Страница 7: ...arget interface but will remain at the same locations Xplained Nano kits have a target section where all I O pins will be available and fanned out Except for the VCC and GND pins with fixed positions...

Страница 8: ...to the board using a soldering iron By removing the resistors in the sections shown in the figure below the mEDBG is completely disconnected from the target controller If desired to connect the mEDBG...

Страница 9: ...ADC0_7 ADC1_3 XY3 ACP0 10 PB 5 ADC0_8 ACN1 CLKOUT WO2 User LED 11 PB 4 ADC0_9 ACP1 WO1 User button 12 PB 3 TOSC1 EVOUT1 RxD0 WO0 13 PB 2 TOSC2 TxD0 WO2 14 PB 1 ADC0_10 XY4 XCK0 SDA0 WO1 15 PB 0 ADC0_...

Страница 10: ...at can be turned ON and OFF The LED can be activated by driving the connected I O line to GND Table 4 2 LED Connection ATtiny416 Pin Function Shared Functionality PB5 Yellow LED0 Edge connector 4 3 2...

Страница 11: ...to use the programming capabilities of the mEDBG see Mini Embedded Debugger Table 5 1 UPDI Connections ATtiny416 Pin Function Shared Functionality PA0 UPDI mEDBG 5 2 Virtual COM Port The Embedded Deb...

Страница 12: ...ain the product identifier and revision The same information can be found on the sticker on the bottom side of the PCB Most kits will print the identifier and revision in plain text as A09 nnnn rr whe...

Страница 13: ...ry Doc Rev Date Comment B 12 2019 Added description of fuse masking section 6 2 A 10 2017 Initial document release ATtiny416 Xplained Nano Document Revision History 2019 Microchip Technology Inc User...

Страница 14: ...ilable through the website at http www microchip com support Microchip Devices Code Protection Feature Note the following details of the code protection feature on Microchip devices Microchip products...

Страница 15: ...ASIC Plus logo Quiet Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProvider Vite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the U S A Adjacen...

Страница 16: ...7252 China Xiamen Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 91 20 4121 0141 Japan Osaka Tel 81 6 6152 7...

Отзывы: