background image

3. 

Xplained Nano

Xplained Nano is an evaluation platform that provides a set of small boards with access to all
microcontoller I/O's. The platform consists of a series of low pin-count Microcontroller (MCU) boards,
which are integrated with Atmel Studio to present relevant user guides, application notes, datasheets, and
example code through Atmel Studio. The platform also features a Virtual COM port for serial
communication to a host PC.

3.1. 

Mini Embedded Debugger

The ATtiny104 Xplained Nano contains the Atmel Mini Embedded Debugger (mEDBG) for on-board
programming. 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 the ATtiny104. On ATtiny104
Xplained Nano, the TPI interface is connected between the mEDBG and the ATtiny104.

The Virtual COM Port is connected to a UART on the ATtiny104 and provides an easy way to
communicate with the target application through terminal software. It offers variable baud rate, parity, and
stop bit settings.

Note: 

 The settings on the ATtiny104 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 ATtiny104. If the DTR
signal is not enabled the UART pins on the mEDBG is kept in high-z (tristate) rendering the
COM port unusable. The DTR signal is set automatically by some terminal software, but it may
have to be manually enabled in your terminal.

The mEDBG controls one status LED on ATtiny104 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 lit briefly

Normal operation

LED is not lit

Programming

Activity indicator; LED flashes when programming/
debugging with the mEDBG

3.1.1. 

Xplained Nano Clock Output

The mEDBG output its CPU clock to the 

CLK

 pin 8 as shown in 

Xplained Nano Standard Pin-Out

 on page

6. 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 ATtiny104 Xplained Nano 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 500mA PTC fuse. The voltage from
the USB connector can vary between 4.4V to 5.25V (according to USB spec).

Atmel ATtiny104 Xplained Nano [USER GUIDE]

Atmel-42671A-ATtiny104-Xplained-Nano_User Guide-02/2016

5

Summary of Contents for ATtiny104 Xplained Nano

Page 1: ...ported by the Atmel Studio integrated development platform the kit provides easy access to the features of the Atmel ATtiny104 and explains how to integrate the device in a custom design The Xplained...

Page 2: ...nnecting mEDBG 7 4 Hardware User Guide 9 4 1 Connectors 9 4 1 1 ATtiny104 Xplained Nano Pin Out 9 4 2 Current Measurement 9 4 3 Peripherals 10 4 3 1 LED 10 4 3 2 Mechanical Buttons 10 5 Embedded Debug...

Page 3: ...luate the Atmel ATtiny104 Figure 1 1 ATtiny104 Xplained Nano Evaluation Kit Overview RESET TPI DATA TPI CLK NC VREG VUSB GND CLK OUT CDC TX CDC RX VCC PA0 PA1 PA2 PA3 PA4 PA5 GND PB3 PB2 PB1 PB0 PA7 P...

Page 4: ...use evaluation kits for Atmel microcontrollers and other Atmel products For low pin count devices the Xplained Nano series provides a minimalistic solution with access to all I O pins of the target mi...

Page 5: ...n the mEDBG requires the terminal software to set the data terminal ready DTR signal to enable the UART pins connected to the ATtiny104 If the DTR signal is not enabled the UART pins on the mEDBG is k...

Page 6: ...e here if the resistor is removed Figure 3 1 Power Supply Block Diagram USB Target MCU PTC Power source Power connection Power consumer 0 ohm Resistor VUSB VREG VCC mEDBG 3 3 Xplained Nano Standard Pi...

Page 7: ...Status LED 3 4 Disconnecting mEDBG The target controller ATtiny104 can be completely separated from the mEDBG but this requires some small modifications to the board using a soldering iron By removing...

Page 8: ...Figure 3 3 Kit Modifications Power disconnect mEDBG disconnect Atmel ATtiny104 Xplained Nano USER GUIDE Atmel 42671A ATtiny104 Xplained Nano_User Guide 02 2016 8...

Page 9: ...INT0 ADC5 XCK0 OC0A CLKO User button 12 PB 2 PCINT10 ADC6 TxD0 ICP0 mEDBG CDC RX 13 PB 3 PCINT11 ADC7 ACO RxD0 T0 mEDBG CDC TX 14 GND Ground 4 2 Current Measurement The power to the target controller...

Page 10: ...Table 4 2 LED Connection ATtiny104 pin Function Shared functionality PA5 Yellow LED0 Edge connector 4 3 2 Mechanical Buttons ATtiny104 Xplained Nano contains one mechanical button This is a generic u...

Page 11: ...the programming capabilities of the mEDBG see Mini Embedded Debugger Table 5 1 TPI Connections ATtiny104 pin Function Shared functionality PA0 TPI clock mEDBG PA1 TPI data mEDBG 5 2 Virtual COM Port T...

Page 12: ...ntifier 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 where nnnn is the iden...

Page 13: ...7 Document Revision History Doc rev Date Comment 42671A 02 2016 Initial document release Atmel ATtiny104 Xplained Nano USER GUIDE Atmel 42671A ATtiny104 Xplained Nano_User Guide 02 2016 13...

Page 14: ...he goods Further the user indemnifies Atmel from all claims arising from the handling or use of the goods Due to the open construction of the product it is the user s responsibility to take any and al...

Page 15: ...ION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Atmel makes no representations or warranties with respect to the accuracy...

Page 16: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Atmel ATTINY104 XNANO...

Reviews: