Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
452
(6)
Set LCDC_IMG_BASE_ADDR register for DMA buffer addresses.
(7)
Configure RGB I/F registers for this transfer.
a)
Set LCDC_RGB_CFG register as preferred RGB interface profile.
b)
Set LCDC_RGB_VSYNC_CFG & LCDC_RGB_HSYNC_CFG register for HBP/HFP/HSW/VBP/VFP/VSW.
(8)
Enable necessary interrupts.
(9)
Start transfer by writing 1 to the LCDCEN bit of LCDC_CTRL register.
(10)
Copy image to DMA buffer, you can get fresh status if needed.
(11)
The transfer is stopped when disabled LCDC.
20.4.2
MCU DMA Trigger-mode
(1)
Disable LCDC by writing 0 to the LCDCEN bit of LCDC_CTRL register.
(2)
Set LCDC_PLANE_SIZE register.
(3)
Set LCDC_CTRL register as MCU interface.
(4)
Set LCDC_DMA_MODE_CFG register as DMA Trigger-mode.
(5)
Configure MCU I/F registers for this transfer.
a)
Set LCDC_MCU_CFG register as preferred MCU profile.
b)
Set LCDC_MCU_TIMING_CFG register for MCU timings.
c)
Set LCDC_MCU_CFG register to enable MCU I/O mode.
(6)
Start transfer by writing 1 to the LCDCEN bit of LCDC_CTRL register.
(7)
Send CMD & CMD parameters to LCD through LCDC_MCU_IO_DATA register.
(8)
Set LCDC_IMG_BASE_ADDR register for DMA buffer addresses.
(9)
Set LCDC_MCU_CFG registers to enable MCU DMA mode (ex. LCD initialization and so on).
(10)
Update image to DMA buffer, you can get fresh status if needed.
(11)
Trigger one time DMA through LCDC_DMA_MODE_CFG registers.
20.4.3
MCU I/O Mode
(1)
Disable LCDC by writing 0 to the LCDCEN bit of LCDC_CTRL register.
(2)
Set LCDC_PLANE_SIZE register.
(3)
Set LCDC_CTRL register as MCU interface.
(4)
Configure MCU I/F registers for this transfer.
a)
Set LCDC_MCU_CFG register as preferred MCU profile.
b)
Set LCDC_MCU_TIMING_CFG register for MCU timings.
c)
Set LCDC_MCU_CFG register to enable MCU I/O mode.
(5)
Start transfer by writing 1 to the LCDCEN bit of LCDC_CTRL register.
(6)
Send CMD & CMD parameters to LCD through LCDC_MCU_IO_DATA register.
(7)
Write/read point to/from GRAM through I/O mode.
Realtek confidential files
The document authorized to
2019-05-15 10:08:03