BAT32G1x9 user manual | Chapter 23 LCD bus interface
1006 / 1149
Rev.1.02
(5). DMA transport settings
• Set the DMABAR register
• Set the control data for
DMA channel
39
• Set DMA
channel
39
to boot
Note: The first time you transfer, you need to write the transfer content in the 0x200001000 to the LBDATA register
through the normal write method.
Figure 23-20 DMA
transfer setup flow
Start
Set INTLCDB trigger on
DMAEN4=0x80
End
Set DMABAR register
Set DMA control data
Enable DMA channel 39
DMABAR=0x2000000
0
DMACR39=0x0104
DMBLS39=0x1
DMACT39=1
DMRLD39=1
DMSAR39=0x20001000
DMDAR39=0x40045410
FIFO bit=1
,
source address fixed
Transmission data size=1byte
One trigger transmit one time
RAM address as source address
LBDATA address as destination address
When reading data from the LCD driver chip to the LCD, set the RAM address to the destination address and the
LBDATA address to the source address.