Motorola MPC823e Reference Manual page 469

Microprocessor for mobile computing
Table of Contents

Advertisement

When the dual-port RAM is accessed by the core or SDMA channel, the data and address
are passed to and from the U-bus. The microcontroller has access to the entire dual-port
RAM for data fetches and portions of the system RAM for microcode instruction fetches.
The dual-port RAM is used to complete the following tasks. Any two tasks can occur
simultaneously.
• To store the parameters associated with the USB, SCCs, SMCs, SPI, I
in the 1,024-byte parameter RAM.
• To store the buffer descriptors that describe where data is to be received and
transmitted.
• To store the data from the serial channels. This is optional because data can also be
stored in external memory.
• To store the RAM microcode for the RISC microcontroller. This feature allows Motorola
to add protocols in the future.
• To use as an additional scratchpad RAM space for your program.
Only the content of the parameter and microcode RAM options require the use of fixed
addresses. The buffer descriptors, buffer data, and scratchpad RAM can be located in the
internal system RAM or in any unused parameter RAM. For instance, the area that is
available when a serial channel or sub-block is not being used. When a microcode from
RAM is executed, certain portions of the system RAM are no longer available. There are
three possible configurations for microcode area sizes— first 512-byte block with a 256-byte
extension (RCCR ERAM=01), first 1,024-byte block with 256-byte extension (RCCR
ERAM=10), or first 2,048-byte block with 512-byte extension (RCCR ERAM=11). The
remainder of the first 4,096 bytes are available as system RAM. See Table 16-1 for details.
16.2.6.3.1 Buffer Descriptors. The universal serial bus, serial communication controllers,
serial management controllers, serial peripheral interface, and I
descriptors to control data buffers. The table below shows that their buffer descriptor formats
are all the same. If the IDMA channel is used in buffer chaining or autobuffer mode, it also
uses buffer descriptors. A data length of zero will set the buffer length to 65536 bytes.
0
OFFSET + 0
OFFSET + 2
OFFSET + 4
OFFSET + 6
16.2.6.3.2 Parameter RAM. The communication processor module maintains a section of
dual-port RAM called the parameter RAM. It contains many parameters for a universal serial
bus, serial communication controller, serial management controller, serial peripheral
2
interface, I
C controller, and IDMA channel operation. The parameter RAM structure is
summarized in Table 16-3.
MOTOROLA
STATUS AND CONTROL
DATA LENGTH
HIGH-ORDER DATA BUFFER POINTER
LOW-ORDER DATA BUFFER POINTER
MPC823e REFERENCE MANUAL
Communication Processor Module
2
C, and IDMAs
2
C always use buffer
15
16-15

Advertisement

Table of Contents
loading

Table of Contents