|
PXN20RM Datasheet, PDF (798/1376 Pages) Freescale Semiconductor, Inc – PXN20 Microcontroller | |||
|
◁ |
Media Local Bus (MLB)
Table 27-22. Local Channel n Buffer Configuration Register Field Descriptions
Field
Description
BD[8:0]
Buffer Depth. This field defines the depth of the local channel buffer in the local buffer RAM in increments of 4
quadlets. At reset, the LCBCHn[BD[8:0]] field is loaded with 0x01F, or 128 quadlets.
0x000 â Depth = 4 quadlets.
0x001 â Depth = 8 quadlets.
0x002 â Depth = 12 quadlets.
...
0x1FF â Depth = 2048 quadlets.
Value 0x01F (decimal 31) equates to 128 quadlets.
The default buffer depth for all channels is 128 quadlets (0x01F).
SA[8:0]
Buffer Start Address. This field defines the starting address of the channel buffer space in the local buffer RAM in
increments of 4 quadlets. At reset, the LCBCRn[SA[9:0]] field is loaded with the channel number multiplied by 32 (or
channel number multiplied by 128 quadlets).
0x000 â RAM Start Address offset = 0 quadlets.
0x001 â RAM Start Address offset = 4 quadlets.
0x002 â RAM Start Address offset = 8 quadlets.
...
0x1FFh â RAM Start Address offset = 2044 quadlets.
General: Channel n offset = Channel (n â 1)offset + BD(Channel (n â 1)).
Channel 0 = 0 offset.
Channel 1 = Channel 0 + BD(16quadlets) = 16quadlets offset.
Channel 2 = Channel 1 (16quadlets) + BD(16 quadlets) = 32 quadlets offset.
Channel 3 = Channel 2 (32 quadlets) + BD(144 quadlets) = 176 quadlets offset.
Channel 4 = Channel 3 (176 quadlets) + BD(144 quadlets) = 320 quadlets offset.
27.4 Functional Description
The MLB Device peripheral is divided into six main components, as illustrated in Figure 27-1.
⢠MLB Core. Implements the physical layer of the MLB interface. This physical layer performs
serial-to-parallel and parallel-to-serial data transformations and MLB frame synchronization.
⢠Clock and Reset Control
⢠MLB Link Logic. Implements the link layer functionality of the MLB interface, including:
â Checking of synchronous, asynchronous, control, and isochronous channel protocol
â Handling of both RX and TX initiated breaks
â Generating RX responses to the MLB Core
â Generating TX commands for the MLB Core
â Processing of and responding to the system channel commands
â Detection of MLB bus lock/unlock
â Recognition and pipe-lining of logical ChannelAddresses
⢠MLB Configuration Logic. Implements the memory space for the Configuration Control Registers
and Channel Configuration Registers. These configuration and control registers are used to define
27-26
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
|
▷ |