background image

Reference clock

: Reference clock for the XAM.

3.2.3 

Sample Rate

The raw sampling rate of the XAM is up to 250 kHz, and with the default averaging configuration (average of 16
samples), the actual output of the XAM is 16.67 ksps.

Info: 

 The XAM output sample rate is not an integer fraction of the raw sampling.

3.2.4 

Measurement Ranges and Accuracy

The XAM has four measurement ranges. These are defined by two shunt resistors and two gain stages.

Table 3-2. XAM Measurement Ranges and Accuracy

Measurement
Range

Hardware

Resolution Accuracy

Comments

Range 1

Low current shunt and high
gain stage

20 nA

1 LSB ±1% Accuracy will decrease below 1

μA. The typical accuracy for 300
nA is 1 LSB ±10%.

Range 2

Low current shunt and low
gain stage

150 nA

1 LSB ±1%

Range 3

High current shunt and high
gain stage

10 μA

1 LSB ±1%

Range 4

High current shunt and low
gain stage

100 μA

1 LSB ±1% Accuracy will decrease above 100

mA. Typical accuracy is 1 LSB
±5% at 400 mA. The maximum
current is 400 mA.

The ranges are automatically switched by the XAM to achieve the best measurement results, and the currently active
range is visualized in the 

Data Visualizer

 front-end tool. The maximum voltage drop over the shunt resistor is 100 mV,

and the XAM switches the range automatically before reaching this limit.

3.3 

Hardware Identification System

All Xplained Pro extension boards come with an identification chip (ATSHA204A CryptoAuthentication

 chip) to

uniquely identify the boards that are connected to the Xplained Pro Evaluation Kit. This chip contains information that
identifies the extension with its name and some extra data. When an Xplained Pro extension is connected to an
Xplained Pro Evaluation Kit, the information is read and sent to the Atmel Studio/MPLAB

®

 X. The following table

shows the data fields stored in the ID chip with example content.

Table 3-3. Xplained Pro ID Chip Content

Data Field

Data Type

Example Content

Manufacturer

ASCII string

Microchip'\0'

Product name

ASCII string

Segment LCD1 Xplained Pro'\0'

Product revision

ASCII string

02'\0'

Product serial number

ASCII string

1774020200000010’\0’

Minimum voltage [mV]

uint16_t

3000

 ATtiny3217 Xplained Pro

Xplained Pro

©

 2020 Microchip Technology Inc.

 User Guide

DS50002765B-page 9

Содержание ATtiny3217 Xplained Pro

Страница 1: ...es easy access to the features of the ATtiny3217 and explains how to integrate the device into a custom design The Xplained Pro MCU series evaluation kits include on board Embedded Debuggers No extern...

Страница 2: ...Hardware User Guide 12 4 1 Power Distribution 12 4 2 Connectors 12 4 2 1 Xplained Pro Standard Extension Headers 13 4 2 2 UPDI Debug Connector 15 4 3 Peripherals 15 4 3 1 Mechanical Buttons 15 4 3 2...

Страница 3: ...chip Website 27 Product Change Notification Service 27 Customer Support 27 Microchip Devices Code Protection Feature 27 Legal Notice 27 Trademarks 28 Quality Management System 28 Worldwide Sales and S...

Страница 4: ...bedded Current Measurement Circuitry XAM Measures power consumption of the ATtiny3217 and or peripherals Measures current between 100 nA and 400 mA Current measurement data are shown in Microchip Data...

Страница 5: ...ATTINY3217 SW1 USER BUTTON CURRENT MEASUREMENT HEADER SW0 USER BUTTON USER LED0 32 768 kHz CRYSTAL QTOUCH BUTTONS MCU CURRENT MEASUREMENT SELECT JUMPER I O CURRENT MEASUREMENT SELECT JUMPER UPDI DEBUG...

Страница 6: ...devices that feature advanced debugging and standardized extensions for peripheral functions Note All the above kits have on board programmers debuggers which creates a set of low cost boards for eval...

Страница 7: ...the terminal software Info The Virtual COM Port in the EDBG requires the terminal software to set the Data Terminal Ready DTR signal to enable the UART pins connected to the ATtiny3217 If the DTR sign...

Страница 8: ...gain Control MCU Analog to Digital converter Signal processing Control communication interface to the EDBG The current measurement front end is a high side shunt measurement with a pre amplifier and...

Страница 9: ...d by the XAM to achieve the best measurement results and the currently active range is visualized in the Data Visualizer front end tool The maximum voltage drop over the shunt resistor is 100 mV and t...

Страница 10: ...er USB Info External power is required when 500 mA from a USB connector is not enough to power the board with possible extension boards 3 5 Xplained Pro Headers and Connectors 3 5 1 Xplained Pro Stand...

Страница 11: ...is pin should preferably not be connected to anything else 16 SPI_MOSI SPI master out slave in pin Always connected bus type 17 SPI_MISO SPI master in slave out pin Always connected bus type 18 SPI_SC...

Страница 12: ...consumer VCC_P3V3 Peripherals Power Measurement Select External 5V input EDBG USB Auto MUX Regulator 3 3V Jumper VCC_MCU VCC_TARGET 4 2 Connectors The following sections describe the implementation of...

Страница 13: ...based on the standard extension header specified in the table below The headers have a pitch of 2 54 mm Table 4 1 Extension Header EXT1 EXT1 Pin ATtiny3217 Pin Function Shared Functionality 1 ID Commu...

Страница 14: ...s in italic use alternative pin location These have to be configured in the PORTMUX register of the device Table 4 2 Extension Header EXT3 EXT3 Pin ATtiny3217 Pin Function Shared Functionality 1 ID Co...

Страница 15: ...EXT3 7 8 9 10 Note 1 PA0 is configured as UPDI by default PA0 can be fused to be RESET or GPIO but this is prevented by the EDBG as this will disable all further programming and debugging by the EDBG...

Страница 16: ...module The UART interface is lost if the crystal is needed by the application See Kit Modifications for instructions on how to modify the kit for crystal operation Table 4 5 External 32 768 kHz Cryst...

Страница 17: ...g and debugging capabilities of the EDBG see section 3 1 Embedded Debugger Table 4 8 UPDI Connections ATtiny3217 Pin Function Shared Functionality PA0 UPDI interface UPDI debug connector 4 4 2 Virtual...

Страница 18: ...red Functionality PB5 GPIO0 EXT3 and SW0 PB6 GPIO1 EXT3 4 4 4 XAM Configuration On the ATtiny3217 Xplained Pro the MCU and the MCU peripherals e g extensions are powered by their own regulator as show...

Страница 19: ...ured by the XAM Place both jumpers on the I O and MCU headers in the MEASURE position 4 5 Kit Modifications ATtiny3217 Xplained Pro has several resistors that can be used to disconnect I O pins of the...

Страница 20: ...CL R414 330R Yes EDBG CDC TX PB3 UART RX R415 0R Yes EDBG SPI MOSI PC2 SPI MOSI R416 330R Yes EDBG DGI_GPIO0 PB5 GPIO R417 330R Yes EDBG DGI_GPIO1 PB6 IRQ GPIO R420 330R Yes EDBG SPI MISO PC1 SPI MISO...

Страница 21: ...sembly drawing in the section above Kit Modifications Info Operating the ATtiny3217 with the crystal requires physical modifications on the kit using a soldering iron 4 5 2 Operation at Other Voltages...

Страница 22: ...ny3217 on other voltages than 3 3V requires physical modifications on the kit using a soldering iron and an external debugger for programming the ATtiny3217 The on board current measurement only works...

Страница 23: ...the OPTIONS dialog for the project 2 In the category General Options select the Target tab Select the device for the project or if not listed the core of the device as shown in Figure 7 7 3 In the cat...

Страница 24: ...Figure 5 2 Select Debugger Figure 5 3 Configure Interface ATtiny3217 Xplained Pro Appendix 2020 Microchip Technology Inc User Guide DS50002765B page 24...

Страница 25: ...about connected Xplained Pro extension boards is also shown in the window The same information can be found on the sticker on the bottom side of the PCB Most kits have stickers that have the identifi...

Страница 26: ...Date Comment B 02 2020 HW revision 3 and 4 added 32 768 kHz crystal information updated A 06 2018 Initial document release ATtiny3217 Xplained Pro Document Revision History 2020 Microchip Technology...

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

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

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

Отзывы: