LCD Dedicated Channel
5-31
System DMA Controller
Table 5–8. IMIF LCD Register Settings—Two Frames (Continued)
DMA_LCD_CTRL
Register Settings
DMA_LCD_TOP_F1_L
0x0000
DMA_LCD_BOT_F1_U
0x000B
DMA_LCD_BOT_F1_L
0x00DE
DMA_LCD_TOP_F2_U
0x000C
DMA_LCD_TOP_F2_L
0x0000
DMA_LCD_BOT_F2_U
0x000C
DMA_LCD_BOT_F2_L
0x00DE
The transfer starts when the enable (hardware) signal from the LCD controller
is asserted high.
The transfer runs, and the interrupts are generated at the ends of frames 1
and 2.
Figure 5–12. LCD Dual-Frame Mode Transfer Scheme
IMIF
Video frame 1
LCD
controller
DMA
Video frame 2
0x0B 0000
0x0C 0000
0x0B 00DE
0x0C 00DE
When an interrupt occurs, read the DMA_LCD_CTRL register to find the
source of the interrupt.
If DMA_LCD_CTRL(3) = 1, end frame 1 interrupt.
If DMA_LCD_CTRL(4) = 1, end frame 2 interrupt.
When bottom of frame 1 is reached, the DMA loads the top frame 2 addresses.
When bottom of frame 2 is reached, the DMA loads the top frame 1 address.
Reset DMA_LCD_CTRL3 and 4 and wait for another interrupt.