User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 747
UG585 (v1.11) September 27, 2016
Chapter 30: XADC Interface
Uses the JTAG TAP controller to access the XADC registers
Enables JTAG access to all XADC registers including ADC measurements
30.1.2 System Viewpoint
The XADC is a implemented in hard logic and resides in the PL power domain. The PS-XADC interface
is part of the PS and can be accessed by the PS APU without the PL being programmed. The PL must
be powered up to configure the PS-XADC interface, use the PL-JTAG or DRP interfaces, and to
operate the XADC. A system level block diagram is shown in Figure 30-1.
Note: The XADC arbitrates between the DRP interface and either the PS-XADC or the PL-JTAG
interface.
PS-XADC Interface
The PS-XADC interface description consumes the majority of this chapter. Software running in the PS
configures the interface using the devcfg registers. Software writes commands to the interface that
are pushed into the Command FIFO. These 32-bit writes, consisting of DRP command, address and
data, are serialized and sent to the XADC in a loopback path that fills the returning Read Data FIFO
that is read by the software.
The interface is configured by the devcfg registers, refer to Appendix B, Register Details.
DRP Interface
The DRP interface is a parallel 16-bit bidirectional interface that can connect to a PL bus master via
the LogiCORE IP AXI XADC PL logic using an AXI4-Lite interface to enable the PS or a MicroBlaze
X-Ref Target - Figure 30-1
Figure 30-1: XADC Module System Viewpoint
PS
PL
Zynq-7000 AP SoC Device
PS-XADC
Interrupt Status
32-bit APB
Slave
(from Master
Interconnect)
DevC
(devcfg)
Security
PCAP
XADC
Arbitor
Internal
Voltages
LogiCORE IP AXI XADC Core Logic
External
Voltages
PL-JTAG
Interface
32-bit AXI
(M_AXI_GP)
JTAG
Dedicated
pins in PL
devcfg.XADCIF_CFG [31]
0
1
Internal
Temperature
Serial
Alarm and OT
Signals
Refer to the PG019 Product Specification
Configured by
Bitstream or via
DRP commands.
DRP
Serial
Dual purpose
PL pins.
16-bit data
Misc.
Signals
UG585_c30_10_021913