5
Peripheral Data Controller 2 (PDC2)
1734B
–
CASIC
–
02/02
periph_tx_rdy
[(per_n-1):0]
Peripheral Transmitter Ready
Input
High
Once the holding transmit register is
available, one of these bits is set to 1
periph_rx_size
[(2*per_n)-1:0]
Peripheral Transfer Sizes for
Reception Side
Input
–
The per_n is the number of peripherals
connected to the PDC2. This value changes
the memory pointer. Two bits are reserved for
each peripheral, for example, with two
USARTs and one SPI, the size of transfer on
the receiver side for:
USART0 = periph_rx_size[1:0],
USART1 = periph_rx_size[3:2] and
SPI0 = periph_rx_size[5:4]
periph_tx_size
[(2*per_n)-1:0]
Peripheral Transfer Sizes for
Transmission Side
Input
–
The per_n is the number of peripherals
connected to the PDC2. This value changes
the memory pointer. Two bits are reserved for
each peripheral, for example, with two
USARTs and one SPI, the size of transfer on
the transmit side for:
USART0 = periph_tx_size[1:0],
USART1 = periph_tx_size[3:2] and
SPI0 = periph_tx_size[5:4]
periph_select
[(per_n-1):0]
Peripheral selects
Input
High
From host (Bridge)
–
also input of each
peripheral connected
periph_rx_end
[(per_n-1):0]
Peripheral receive end
Output
High
End of receive transfer (each bit corresponds
to a peripheral)
–
the associated buffer for the
channel is full
periph_tx_end
[(per_n-1):0]
Peripheral Transmit End
Output
High
End of transmit transfer (each bit
corresponds to a peripheral)
–
the associated
buffer for the channel is empty
rx_buffer_full
[(per_n-1):0]
Peripheral Receive Buffer Full
Output
High
End of receive transfer (each bit corresponds
to a peripheral)
–
the associated buffers for
the channel are full
tx_buffer_empty
[(per_n-1):0]
Peripheral Transmit Buffer
Empty
Output
High
End of transmit transfer (each bit
corresponds to a peripheral)
–
the associated
buffers for the channel are empty
Bridge Interface
pdc_add[20:0]
PDC2 Address Bus
Output
–
Used by the Bridge to access the peripherals
pdc_sel
PDC2 Select
Output
High
Used by the Bridge to access the peripherals
pdc_size[1:0]
PDC2 Size of Transfer
Output
–
Multiplex the spi_size inputs
–
used by the
Bridge to determine the size of the transfer
between memories and the SPI
pdc_write
PDC2 Write
Output
High
Used by the Bridge to access the peripherals
Memory Management Unit/EBI
Table 1.
PDC2 Pin Description (Continued)
Name
Definition
Type
Active
Level
Comments