Liquid Crystal Display Controller (LCDC)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
451
20.3.5.3
LCDC_LED_IDLE
Name
: LCDC LED idle register
Size:
32 bits
Address offset:
0x0088
Read/write access:
read/write
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
FRMIDLEPD
RSVD
R/W
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
RSVD
LINEIDLEPD
R/W
Bit
Name
Access
Reset
Description
31:20
FRMIDLEPD
R/W
0
Frame idle period interval – 1 ( unit: dotclock).
19:8
RSVD
N/A
0
Reserved
7:0
LINEIDLEPD
R/W
0
Line idle period time – 1 ( unit: dotclock).
20.3.6
Image Control Registers
20.3.6.1
LCDC_IMG_BASE_ADDR
Name
: LCDC image base address register
Size:
32 bits
Address offset:
0x0090
Read/write access:
read/write
31
30
29
28
27
26
25
…
6
5
4
3
2
1
0
IMG_BASE_ADDR
R/W
Bit
Name
Access Reset Description
31:0
IMG_BASE_ADDR
R/W
0
Image DMA source address.
After a frame refresh done, hardware loads the newer base address from this register
automatically.
20.4
Programming the LCDC
Table 20-4 lists the typical application scenarios of LCDC.
Table 20-4 Typical application scenario of LCDC
I/F
Data Mode
LCD GRAM
Ameba-D Frame Buffer
RGB
DMA Auto-mode
No
Yes
MCU
DMA Trigger-mode
Yes
Yes
I/O mode
Yes
No
20.4.1
RGB DMA Auto-mode
(1)
Disable LCDC by writing 0 to the LCDCEN bit of LCDC_CTRL register.
(2)
Configure LCD via SPI if necessary. (Synchronous related parameters: HBP/HFP/HSW/VBP/VFP/VSW)
(3)
Set LCDC_PLANE_SIZE register.
(4)
Set LCDC_CTRL register as RGB interface.
(5)
Set LCDC_DMA_MODE_CFG register as DMA Auto-mode.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03