IP2022 Users ManualPeripherals
www.ubicom.com
271
Figure 4-8 shows the receive data paths. Software prepares a
SERDES unit to receive data by programming the receive shift
count register (SxRCNT) and the clock select bits in the SxMODE
register appropriately for the selected protocol. The SxRCNT
register is copied to an internal counter, and when that number of
bits of data has been received, the received data is loaded into the
SxRBUF register.
In 10Base-T, GPSI, or USB mode, when an EOP is detected the
SxRCNT register is loaded with the number of bits actually
received, the EOP bit of the SxINTF register is set, and the data
bits are loaded into the SxRBUF register. The RXBF bit in the
SxINTE register can be set to enable an interrupt on this event.
Figure 4-8 Receive Data Paths
515-004.eps
EOP
Receive
Count
Register
(SxRCNT)
Receive
Data
Receive
Clock
Receive
Buffer
Register
(SxRBUF)
Data Bus
RXBF
Receive
Interrupt