3.2
Xplained Pro Analog Module (XAM)
3.2.1
Overview
The Xplained Pro Analog Module (XAM) extends the embedded debugger with a high dynamic range current
measurement. This enables power profiling of the target system.
Figure 3-1. XAM Block Diagram
ADC0
ADC1
20x
voltage
reference
2.7V
Control MCU
GND
S&H
ADC
Calibration
circuitry
Calibration ON/OFF
AREF
GPIO
GPIO(s)
GPIO
100 mOhm
100 Ohm
EDBG
SPI
Clock sync
SWD
Sync
GPIO
I2C
2x
16x
Current input
Current output
Range selection
Pre-amplifier
Active filter with
gain
Xplained Pro Analog Module (XAM)
20x
The XAM consists of:
• Calibration Circuitry
• Voltage Reference Circuitry
• Analog Front-End:
– Shunt resistors with a range selection switch
– Pre-amplifier
– Two active filters with 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 a second active filter
stage with gain, as shown in
. The wide dynamic range is achieved by four measurement ranges, which
are defined by two shunt resistors and the two parallel second stage active filters with gain.
3.2.2
EDBG Interface
The XAM is connected to the EDBG with the following interfaces:
•
I
2
C
: This is used to control and configure the XAM.
•
SPI
: Current measurement data are streamed to the EDBG via this interface. This is a unidirectional channel
from the XAM to the EDBG.
•
SWD
: The MCU in the XAM is programmed via SWD from the EDBG.
•
Clock sync
: Signal used to synchronize ADC measurements with the EDBG.
ATtiny3217 Xplained Pro
Xplained Pro
©
2020 Microchip Technology Inc.
User Guide
DS50002765B-page 8