background image

Figure 7-9. Configure Interface

 ATtiny3217

Appendix

©

 2020 Microchip Technology Inc.

 User Guide

DS40002193A-page 37

Summary of Contents for ATtiny3217 Curiosity Nano

Page 1: ...features of the ATtiny3217 to explore how to integrate the device into a custom design The Curiosity Nano series of evaluation boards include an on board debugger No external tools are necessary to pr...

Page 2: ...3 1 3 4 Special Commands 11 3 1 4 Data Gateway Interface DGI 12 3 1 4 1 Debug GPIO 12 3 1 4 2 Timestamping 12 3 2 Curiosity Nano Standard Pinout 13 3 3 Power Supply 13 3 3 1 Target Regulator 14 3 3 2...

Page 3: ...tory 29 7 Appendix 30 7 1 Schematic 30 7 2 Assembly Drawing 32 7 3 Curiosity Nano Base for Click boards 33 7 4 Disconnecting the On board Debugger 34 7 5 Getting Started with IAR 35 The Microchip Webs...

Page 4: ...egulator controlled by the on board debugger 1 8 5 5V output voltage limited by USB input voltage 500 mA maximum output current limited by ambient temperature and output voltage 1 2 Kit Overview The M...

Page 5: ...ns on a PC Windows Mac OS Linux to develop applications for Microchip microcontrollers and digital signal controllers It is called an Integrated Development Environment IDE because it provides a singl...

Page 6: ...Solutions Microchip PIC and AVR Device Solutions contains complete applications for use with Microchip development boards ready to be adapted and extended ATtiny3217 Curiosity Nano website Kit inform...

Page 7: ...et application through terminal software A Data Gateway Interface DGI for code instrumentation with logic analyzer channels debug GPIO to visualize program flow The on board debugger controls a Power...

Page 8: ...et Send Terminal Receive Terminal Send Info As shown in Figure 3 1 the debugger s CDC TX pin is connected to a UART RX pin on the target for receiving characters from the host computer Similarly the d...

Page 9: ...packets that are already queued up for sending to the target will continue to be sent out but no further data will be accepted Remember Set up the terminal emulator to assert the DTR signal Without th...

Page 10: ...system that has several limitations partly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application The Curiosity Nano USB Device is USB Chapter 9...

Page 11: ...MPLAB X IDE which will automatically clear the CRC fuses after erasing 3 1 3 4 Special Commands Several utility commands are supported by copying text files to the mass storage disk The filename or e...

Page 12: ...application They are typically used to plot the occurrence of low frequency events on a time axis for example when certain application state transitions occur The figure below shows the monitoring of...

Page 13: ...ff input Disables the target regulator and target voltage when pulled low VTG Target voltage GND Common ground Figure 3 3 Curiosity Nano Standard Pinout USB DEBUGGER PS LED NC ID CDC RX CDC TX DBG1 DB...

Page 14: ...programming dialog Any change to the target voltage is persistent even through a power toggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program Info Voltage setti...

Page 15: ...detects the new situation and turns the target voltage regulator back on 3 3 2 External Supply ATtiny3217 Curiosity Nano can be powered by an external voltage instead of the on board target regulator...

Page 16: ...orst case current consumption of approximately 5 A Typical values may be as low as 100 nA 3 3 3 VBUS Output Pin ATtiny3217 Curiosity Nano has a VBUS output pin that can be used to power external compo...

Page 17: ...PS LED is Lit 2 This can be the issue if power jumper J100 and or J101 is cut and the target voltage regulator is set to a value within the specified voltage range for the target device To fix this so...

Page 18: ...they can be disconnected completely as described in 7 4 Disconnecting the On board Debugger 3 5 Programming External Microcontrollers The on board debugger on ATtiny3217 Curiosity Nano can be used to...

Page 19: ...s Info Atmel Studio allows any microcontroller and interface to be selected when Hide unsupported devices is set to False also microcontrollers and interfaces which are not supported by the on board d...

Page 20: ...ernal voltage as a reference for its level shifters Read more about the power supply in 3 3 Power Supply The on board debugger and level shifters actively drive data and clock signals DBG0 DBG1 and DB...

Page 21: ...3 6 Connecting External Debuggers Even though there is an on board debugger external debuggers can be connected directly to the ATtiny3217 Curiosity Nano to program debug the ATtiny3217 The on board d...

Page 22: ...Nano 2 3 4 5 6 7 8 1 VDD Ground DATA 2 VDD 3 Ground 4 PGD 5 Unused 6 Unused 7 Unused 8 Unused 1 Unused MPLAB PICkit 4 USB DEBUGGER PS LED NC ID CDC RX CDC TX DBG1 DBG2 VBUS VOFF DBG3 DBG0 GND VTG CURI...

Page 23: ...D CDC RX CDC TX DBG1 DBG2 VBUS VOFF DBG3 DBG0 GND VTG CURIOSITY NANO CAUTION To avoid contention between the external debugger and the on board debugger do not start any programming debug operation wi...

Page 24: ...PA5 ADC0 AIN5 PTC XY1 TCA0 WO5 PA6 PA6 ADC0 AIN6 PTC XY2 PA7 PA7 ADC0 AIN7 PTC XY3 PB5 PB5 ADC0 AIN8 PTC XY12 GND GND PB6 PB6 PB7 PB7 SW0 DEBUGGER ATtiny3217 Analog Debug I2C SPI UART Peripheral Port...

Page 25: ...abled on pin PB7 Table 4 2 Mechanical Switch ATtiny3217 Pin Description Shared Functionality PB7 User switch SW0 Edge connector On board debugger 4 2 3 Crystal The ATtiny3217 Curiosity Nano Board has...

Page 26: ...d debugger for programming and debugging MPLAB Data Visualizer can be used as a front end for the CDC and debug GPIO 4 2 4 1 On Board Debugger Connections The table below shows the connections between...

Page 27: ...ATtiny3217 Pin Debugger Pin Function Shared Functionality PA0 DBG3 RESET J202 not connected by default Edge connector ATtiny3217 Hardware User Guide 2020 Microchip Technology Inc User Guide DS4000219...

Page 28: ...six digits of the serial number which is listed under kit information contain the product identifier and revision Tip The Kit Window can be opened in MPLAB X IDE through the menu bar Window Kit Windo...

Page 29: ...6 Document Revision History Doc rev Date Comment A 03 2020 Initial document release ATtiny3217 Document Revision History 2020 Microchip Technology Inc User Guide DS40002193A page 29...

Page 30: ...29 PWM 3 24 ADC 2 23 ADC 1 22 ADC 0 21 GND 20 3 19 2 18 ADC 7 28 ADC 6 27 ADC 5 26 PWM 4 25 DEBUGGER TARGET ID 2 VOFF 33 RESERVED 1 VBUS 34 CNANO34 pin edge connector J200 PB2_USART0_TX PB3_USART0_RX...

Page 31: ...NTs DBG2_CTRL VOFF CDC_RX_CTRL 47k R109 DBG1 CDC_TX_CTRL CDC_RX_CTRL SWCLK REG_ADJUST DBG2_GPIO DBG3_CTRL DBG2_CTRL UPDI UPDI GPIO GPIO RESET Signal DBG0 DBG1 DBG2 DBG3 ICSP Interface DAT CLK GPIO MCL...

Page 32: ...0 5 P A J 1 0 2 0 4 P A J 1 0 2 0 3 P A J 1 0 2 0 2 P A J 1 0 2 0 1 C O J 1 0 2 P A J 1 0 5 0 1 1 P A J 1 0 5 0 1 0P A J 1 0 5 0 8 P A J 1 0 5 0 9 P A J 1 0 5 0 7 P A J 1 0 5 0 6 P A J 1 0 5 0 1 P A J...

Page 33: ...CA0 WO1 PA5 PA5 ADC0 AIN5 PTC XY1 TCA0 WO5 PA6 PA6 ADC0 AIN6 PTC XY2 PA7 PA7 ADC0 AIN7 PTC XY3 PB5 PB5 ADC0 AIN8 PTC XY12 GND GND PB6 PB6 PB7 PB7 SW0 DEBUGGER ATtiny3217 Analog Debug I2C SPI UART Peri...

Page 34: ...supply strap will disconnect the on board power supply Tip Any connection that is cut can be reconnected using solder alternatively a 0 0402 resistor can be mounted Tip When the debugger is disconnec...

Page 35: ...g 1 Make sure you have opened the project you want to configure Open the OPTIONS dialog for the project 2 In the category General Options select the Target tab Select the device for the project or if...

Page 36: ...Figure 7 7 Select Target Device Figure 7 8 Select Debugger ATtiny3217 Appendix 2020 Microchip Technology Inc User Guide DS40002193A page 36...

Page 37: ...Figure 7 9 Configure Interface ATtiny3217 Appendix 2020 Microchip Technology Inc User Guide DS40002193A page 37...

Page 38: ...is available 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 pr...

Page 39: ...lus ProASIC 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...

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