Intel® PXA255 Processor Developer’s Manual
7-33
LCD Controller
word[1] contains the value for FSADRx
word[2] contains the value for FIDRx
word[3] contains the value for LDCMDx
Software must write the location of the first descriptor to FDADRx before enabling the LCD
controller. Once the controller is enabled, the first descriptor is read, and all four registers are
written by the DMAC. The next frame descriptor pointed to by FDADRx is loaded into the
registers for the associated DMA channel after all data for the current descriptor has been
transferred.
The address in FDADRx is not used when the BRA bit in the Frame Branch Register (FBRx) is set.
In this case, the Frame Branch Address is used to fetch the descriptor for the next frame. Branches
can be used to load a new palette or to process a regular frame, as detailed in
Section 7.6.6
.
Note:
If only one frame buffer is used in external memory, the FDADRx field (word[0] of the frame
descriptor) must point back to itself.
7.6.5.2
LCD DMA Frame Descriptor Address Registers (FDADRx)
FDADR0 and FDADR1, shown in
Table 7-7
, correspond to DMA channels 0 and 1 and contain the
memory address of the next descriptor for the DMA channel. The DMAC fetches the descriptor at
this location after finishing the current descriptor. On reset, the bits in this register are undefined.
The target address must be aligned to a 16-byte boundary. Bits [2:0] of the address must be zero.
These are read/write registers. Ignore reads from reserved bits. Write zeros to reserved bits.
7.6.5.3
LCD DMA Frame Source Address Registers (FSADRx)
FSADR0 and FSADR1, shown in
Table 7-8
, correspond to DMA channels 0 and 1 and contain the
source address of the current descriptor for the DMA channel. The address must be aligned on an
8-byte boundary. Bits [2:0] must be zero. If this descriptor is a palette load, FSADRx points to the
memory location at the beginning of the palette data. The size of the palette data must be four 16-
bit entries for 1- and 2-bit pixels, sixteen 16-bit entries for 4-bit pixels, or 256 16-bit entries for 8-
bit pixels. If this descriptor is for pixel data, FSADRx points to the beginning of the frame buffer in
memory. This address is incremented as the DMAC fetches from memory. If desired, the DMA
Frame ID Register can be used to hold the initial frame source address.
These read-only registers are loaded indirectly via the frame descriptors, as described in
Section 7.6.5.1
.
Table 7-7. FDADRx Bit Definitions
Physical Address
channel 0: 0x4400_0200
channel 1: 0x4400_0210
FDADR0
FDADR1
LCD Controller
Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Descriptor Address
Reset ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Bits
Name
Description
31:0
Descriptor
Address
Address of next descriptor.
Bits [2:0] must be zero for proper memory alignment.
Summary of Contents for PXA255
Page 1: ...Intel PXA255 Processor Developer s Manual January 2004 Order Number 278693 002 ...
Page 24: ...xxiv Intel PXA255 Processor Developer s Manual Contents ...
Page 30: ...1 6 Intel PXA255 Processor Developer s Manual Introduction ...
Page 310: ...7 46 Intel PXA255 Processor Developer s Manual LCD Controller ...
Page 330: ...8 20 Intel PXA255 Processor Developer s Manual Synchronous Serial Port Controller ...
Page 358: ...9 28 Intel PXA255 Processor Developer s Manual I2 C Bus Interface Unit ...
Page 488: ...13 36 Intel PXA255 Processor Developer s Manual AC 97 Controller Unit ...
Page 572: ...16 30 Intel PXA255 Processor Developer s Manual Network SSP Serial Port ...
Page 599: ...Intel PXA255 Processor Developer s Manual 17 27 Hardware UART ...
Page 600: ......