User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 592
UG585 (v1.11) September 27, 2016
Chapter 19: UART Controller
19.2.9 UART0-to-UART1 Connection
The I/O signals of the two UART controllers in the PS can be connected together. In this mode, the
RxD and CTS input signals from one controller are connected to the TxD and RTS output signals of
the other UART controller by setting the slcr.LOOP [UA0_LOOP_UA1] bit = 1. The other flow control
signals are not connected. This UART-to-UART connection occurs regardless of the MIO-EMIO
programming.
19.2.10 Status and Interrupts
Interrupt and Status Registers
There are two status registers that can be read by software. Both show raw status. The
Chnl_int_sts_reg0 register can be read for status and generate an interrupt. The Channel_sts_reg0
register can only be read for status.
The Chnl_int_sts_reg0 register is sticky; once a bit is set, the bit stays set until software clears it. Write
a 1 to clear a bit. This register is bit-wise AND'ed with the Intrpt_mask_reg0 mask register. If any of
the bit-wise AND functions have a result = 1, then the UART interrupt is asserted to the PS interrupt
controller.
Channel_sts_reg0: Read-only raw status. Writes are ignored.
The various FIFO and system indicators are routed to the uart.Channel_sts_reg0 register and/or the
uart.Chnl_int_sts_reg0 register as shown in Figure 19-8.
X-Ref Target - Figure 19-8
Figure 19-8: Interrupts and Status Signals
uart.Channel_sts_reg0[14:10, 4:0]
(all bits are dynamic)
PS Interrupt IRQ
ID #59 / #82
UG585_c19_03_010613
Status
0: Masked
1: Enabled
uart.Intrpt_mask_reg0
uart.Chnl_int_sts_reg0[12:0]
(all bits are sticky)
Interrupts
FIFO
and other
System
Indicators
uart.Intrpt_en_reg0
uart.Intrpt_dis_reg0
Mask Enable
0 1
1 0