
Media Local Bus (MLB)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
27-33
Figure 27-19. Asynchronous/Control Packet Buffering Example
27.4.6.1.1
Packet Reception
When multi-packet buffering is used for receiving asynchronous or control data packets, buffer processing
should be handled in the following manner:
•
At the start of buffer processing, the beginning of the
Next Buffer
becomes the beginning of the
Current Buffer
, as CNBCR
n
[BSA] is loaded into CCBCR
n
[BCA]. Additionally, the end of the
Next Buffe
r becomes the end of the
Current Buffer
, as CNBCR
n
[BEA] is loaded into
CCBCR
n
[BFA] (See Note 1 in
).
•
A
Buffer Start
interrupt is generated (CSCR
n
[STS[3]] set), which informs software that hardware
has updated CCBCR
n
, cleared the local channel CSCR
n
[RDY] bit, and is available to accept the
next buffer. Software may then prepare the
Next Buffer
by writing CNBCR
n
[BSA],
CNBCR
n
[BEA], and CSCR
n
Packet 1
(First Packet)
Packet 2
Packet 3
Packet N
(Last Packet)
0
BS
BD
BCA
BFA
BEA
BFA
BEA
BSA
BCA
internal register
Note 3
* RX handling only
Note 5A
* RX handling only
Note 4
Note 1
Note 5B
* TX handling only
Note 6
Note 2
Legend
= 16-bit address pointer
= channel interrupt
(Shows RX/TX handling of Asynchronous/Control Packets using the Current Buffer)
Multi-Packet Buffering Example
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...