background image

3. 

Xplained Mini

Xplained Mini is an evaluation platform that provides a set of small boards with access to all microcontroller I/Os. 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. The platform also features a Virtual
COM port for serial communication to a host PC.

3.1 

Mini Embedded Debugger

The ATtiny817 Xplained Mini 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 ATtiny817. On ATtiny817
Xplained Mini, the UPDI interface is connected between the mEDBG and the ATtiny817.

The virtual COM port is connected to a UART on the ATtiny817 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 ATtiny817 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 ATtiny817. 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 ATtiny817 Xplained Mini. 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 Mini Clock Output

The mEDBG outputs its CPU clock on a pin.

The clock output can be used to feed the target device with a more accurate clock if this is needed for the application.
By default, this clock is disconnected from the target by a not mounted resistor.

To connect the external clock to the ATtiny817, a 0Ω resistor or strap has to be soldered in the footprint, as shown in
the figure below (R205).

 ATtiny817 Xplained Mini

Xplained Mini

©

 2019 Microchip Technology Inc.

 User Guide

DS50002657B-page 6

Summary of Contents for ATtiny817 Xplained Pro

Page 1: ...Atmel Studio and MPLAB X integrated development platform the kit provides easy access to the features of the ATtiny817 and explains how to integrate the device into a custom design The Xplained Mini s...

Page 2: ...t Measurement 15 4 4 Disconnecting mEDBG 16 4 5 Peripherals 17 4 6 Embedded Debugger Implementation 18 5 Hardware Revision History and Known Issues 19 5 1 Identifying Product ID and Revision 19 5 2 Re...

Page 3: ...board status LED Programming and debugging Virtual COM Port CDC USB Powered ATtiny817 Power Sources 5 0V from USB 3 3V regulator External voltage Arduino Shield Compatible Footprints 1 2 Kit Overview...

Page 4: ...Micro USB Connector Target power J100 Status LED PC0 PC5 User LED User button Table 1 1 Default Configurations Function Default Configuration Other Settings Kit power source J102 5 0V USB powered Ext...

Page 5: ...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 All the above kits h...

Page 6: ...s 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 ATtiny817 If t...

Page 7: ...target MCU LOWP mode where the mEDBG is set to run at 1 MHz Saving power while maintaining the USB connection for the COM port The external clock will be 1 MHz Table 3 3 Low Power Modes Operation Mode...

Page 8: ...cal fuses using Atmel Studio However it does not prevent users from setting fuses freely using the command line interface atprogram bundled with Atmel Studio ATtiny817 Xplained Mini Xplained Mini 2019...

Page 9: ...arget device WARNING Writing the FUSE bit to 0 enables modification of all fuses in the ATtiny817 Setting wrong fuse settings may render the mEDBG not usable on the ATtiny817 Xplained Mini As an examp...

Page 10: ...on to the ATtiny817 The tables of connections in the sections also describe which signals are shared between the headers and on board functionality The figure below shows the assembly drawing of the A...

Page 11: ...Figure 4 1 ATtiny817 Xplained Mini Assembly Drawing ATtiny817 Xplained Mini Hardware User Guide 2019 Microchip Technology Inc User Guide DS50002657B page 11...

Page 12: ...lect header The target voltage select jumper J100 3 pin header footprint can be soldered in to select between the on board 3 3V regulator or the voltage from the input voltage select jumper J102 The s...

Page 13: ...GND GND 8 AREF 9 PA1 D14 I2C SDA 10 PA2 D15 I2C SCL Table 4 3 J202 Digital I O Low Header J202 ATtiny817 Pin Arduino Numbering Functions Comment 1 PB3 D0 UART RX Shared with mEDBG CDC 2 PB2 D1 UART T...

Page 14: ...are available close to the header at row J and K enabling easy connection to header pin 15 to 18 Using pins 11 to 20 enables connection of the 10 pin legacy header used on the RZ600 wireless modules...

Page 15: ...SPI_MISO Master in slave out line of serial peripheral interface 18 SPI_SCK Clock for serial peripheral interface 19 GND Ground 20 VCC Power for extension board 4 3 Current Measurement The power to t...

Page 16: ...mEDBG is completely disconnected from the target controller To reconnect the mEDBG again solder in 0 resistors or solder in 100 mil headers on the header footprints and use wire straps to connect the...

Page 17: ...ed to the generic user button Table 4 9 Mechanical Button ATtiny817 Pin Description Shared Functionality PC5 User button J200 J201 and J203 4 5 3 QTouch Buttons ATtiny817 Xplained Mini contains two QT...

Page 18: ...ug Interface UPDI uses one pin to communicate with the target Table 4 11 UPDI Connections ATtiny817 Pin Function Shared Functionality PA0 UPDI program debug mEDBG and J201 N M 0 ohm 4 6 2 Virtual COM...

Page 19: ...ifier 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 identi...

Page 20: ...as it was obsolete A 08 2017 Converted to Microchip format and replaced the Atmel document number 42726A Added links to QTouch example application in 4 5 3 QTouch Buttons 42762A 10 2016 Initial docume...

Page 21: ...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...

Page 22: ...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...

Page 23: ...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...

Reviews: