Freescale Semiconductor PowerQUICC MPC885 Reference Manual page 808

Powerquicc family
Table of Contents

Advertisement

Serial Management Controllers (SMCs)
29.3.10 SMC UART Receive BD (RxBD)
The CP reports information about the received data in each buffer's RxBD, shown in
then closes the current buffer, generates a maskable interrupt, and starts receiving data into the next buffer
after one of the following occurs:
An error is received during message processing.
A full receive buffer is detected.
A programmable number of consecutive idle characters are received.
0
1
Offset + 0
E
Offset + 2
Offset + 4
Offset + 6
Table 29-8
describes SMC UART RxBD status and control fields.
Table 29-8. SMC UART RxBD Status and Control Field Descriptions
Bit
Name
0
E
Empty.
0 The buffer is full or data reception stopped due to an error. The core can read or write any fields
of this RxBD. The CP does not use this BD while E is zero.
1 The buffer is empty or reception is in progress. This RxBD and its buffer are owned by the CP.
Once E is set, the core should not write any fields of this RxBD.
1
Reserved, should be cleared
2
W
Wrap (last BD in RxBD table).
0 Not the last BD in the table.
1 Last BD in the table. After this buffer is used, the CP receives incoming data into the first BD that
RBASE points to in the table. The number of RxBDs in this table is determined only by the W bit.
3
I
Interrupt.
0 No interrupt is generated after this buffer is filled.
1 The SMCE[RX] is set when this buffer is completely filled by the CP, indicating the need for the
core to process the buffer. RX can cause an interrupt if it is enabled.
4–5
Reserved, should be cleared
6
CM
Continuous mode.
0 Normal operation.
1 The CP does not clear the E bit after this BD is closed, allowing the CP to automatically overwrite
the buffer when it next accesses the BD. However, E is cleared if an error occurs during reception,
regardless of how CM is set.
7
ID
Buffer closed on reception of idles. Set when the buffer has closed because a programmable
number of consecutive idle sequences is received. The CP writes ID after received data is in the
buffer.
8–9
Reserved, should be cleared
29-14
2
3
4
5
6
W
I
CM
Rx Buffer Pointer
Figure 29-6. SMC UART Receive BD (RxBD)
MPC885 PowerQUICC Family Reference Manual, Rev. 2
7
8
9
10
11
ID
BR
FR
Data Length
Description
Figure
29-6. The CP
12
13
14
15
PR
OV
Freescale Semiconductor

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc mpc870Powerquicc mpc880Powerquicc mpc875

Table of Contents