User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 748
UG585 (v1.11) September 27, 2016
Chapter 30: XADC Interface
processor to control the XADC. The IP core receives 16 bits of data with each AXI4-Lite read/write
transaction. The interface is described in DS790
, Product Specification.
The PL-AXI interface provides the highest performance. This interface uses the PL-AXI interface protocol
and provides flexibility of integrating additional signal processing IPs in the data path of XADC’s samples.
For example, a FIR filter can be instantiated in the PL-AXI data path between the XADC and the M_AXI_GP
interface of PS (or other logic in the PL).
PL JTAG Interface
The JTAG interface features and functions are described in UG480, 7 Series FPGAs and Zynq-7000 All
Programmable SoC XADC Dual 12-Bit 1 MSPS Analog-to-Digital Converter User Guide. This interface
connects to the development tools.
The Chipscope™ application can use the PL JTAG interface to read and write to the XADC status and
control registers respectively.
Note: The PL-JTAG interface is disabled, including control by Chipscope, when the PS-XADC
interface is selected.
Alarms
The seven alarm and over temperature signals are routed to the PS-XADC interface and made
available to the PL. For the PS-XADC interface, these are described in section 30.3 PS-XADC Interface
Description. Their use by the LogiCORE IP is described in PG091
, LogiCORE IP XADC Wizard Product
Guide.
30.1.3 PS-XADC Interface Block Diagram
The block diagram for the PS-XADC interface is shown in Figure 30-2.
The PS-XADC interface is normally controlled by software executing in the APU. The software writes
32-bit commands and NOPs to the command FIFO. The command FIFO output is serialized by the
Serial Communications Channel in 32-bit packets for the XADC.
There is a programmable idle gap (IGAP) time between packets to allow time for the XADC to load read
data in response to the previous packet. For every word shift out from the command FIFO, a corresponding
word is shifted in to the Read Data FIFO. In the case of a DRP read command, as it is shifted out of the
command FIFO, the old content of XADC_DRPs DR register is shifted out. After IGAP time, the result of the
current DRP read is available in XADC DRP’s DR register. When the next command from TXFIFO is shifted
out, the result of the current read which is in the DR register, is shifted into the RDFIFO.