English
Language : 

XC161 Datasheet, PDF (351/419 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
22.2.7.3 Read Operations
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
Serial Data Link Module SDLM
Read of the Receive FIFO in Normal Mode
Bit RxINCE in register BUFFCON has to be set in order to provide FIFO functionality.
Register RxCPU is incremented after each read operation from RxD00. The receive
buffer is read out by multiple read actions from RxD00. All other registers of the receive
buffer can always be directly accessed via their addresses without changing RxCPU.
Start
end
n
RBC=1 ?
y
RxCPU
<RxCNT ? n
y
read RxD00
DONE:=1
Bit RBC=1 indicates that
the receive buffer on bus
side contains valid data
and has not yet been
released by the CPU.
If RxCPU (number of bytes
already read out) is lower than
RxCNT (total number of bytes in
the receive buffer), the CPU has
to continue reading RxD00.
The CPU reads from RxD00,
which is the base address of
the FIFO. After each read
action, RxCPU is incremented
by HW.
The CPU releases the receive
buffer by setting bit DONE.
This action resets RBC. If the
receive buffer on bus side
contains valid data (RBB=1
and RBC=0), the buffers are
swapped.
Figure 22-14 Receive Operation in FIFO Mode
User’s Manual
SDLM_X, V2.0
22-20
V2.2, 2004-01