User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 755
UG585 (v1.11) September 27, 2016
Chapter 30: XADC Interface
30.3.5 Min/Max Voltage Thresholds
The XADC tracks the minimum and maximum values recorded for the internal supply sensors since
the last power-up or the last reset of the XADC control logic. The maximum and minimum values
recorded are stored in the DRP Status registers. On power-up or after reset, all Minimum registers are
set to FFFFh and all Maximum registers are set to 0000h. Each new measurement generated for an
on-chip sensor is compared to the contents of its Maximum and Minimum register. If the measured
value is greater than the contents of it Maximum register, the measured value is written to the
Maximum register. Similarly, for the Minimum register, if the measured value is less than the contents
of its Minimum register, the measured value is written to the Minimum register. This check is carried
out each time a measurement result is written to the Status register.
30.3.6 Critical Over-temperature Alarm
Note: This feature sends an interrupt status to the PS and causes an automatic shutdown feature for
the PL side of the Zynq-7000 device if enabled. The PL shutdown is enabled via the bitstream and the
PL will only come out of power-down if the over-temperature alarm goes inactive or a
reconfiguration occurs.
The on-chip temperature measurement is used for critical temperature warnings. The default over
temperature threshold is 125°C. This threshold is used when the contents of the OT Upper Alarm
register (listed in UG480) have not been
conf
igured. When the die temperature exceeds the
threshold set in the XADC’s Control register, the over-temperature alarm (OT) becomes active. The OT
signal resets when the die temperature has fallen below set threshold.
The OT alarm can also be used to automatically power down the PL upon activation. The OT alarm can
be disabled by writing a
1
to the OT bit in the XADC’s
Conf
iguration register.
Note: these registers are in the XADC and are accessible using the DRP.
The XADC OT alarm signal is sent to the PS via the dedicated PS-XADC interface. When the OT alarm
goes active it triggers a maskable interrupt. The OT bit of the XADCIF_INT_STS register needs to be
cleared by writing a
1
to the bit location. The real time value of the OT alarm signal can be found on the
XADCIF_MSTS register.
30.4 Programming Guide for the PS-XADC Interface
The following sequence describes how to configure and interact with the PS-XADC interface to read
an internal VCC auxiliary PS voltage (V
CCPAUX
) and raise an Alarm interrupt when V
CCPAUX
value does
not fall between higher and lower thresholds. The PS-XADC interface specifies commands to be sent
in a specific format as described in section 30.3.3 Command Format. Refer to detailed examples in
section 30.4.3 Command Preparation.
Example: Initialization of XADC via the PS-XADC Interface
This example resets the communications channel and the XADC. It also flushes the FIFOs; leaving a
NOOP (dummy) word in the XADC.