I have to attach a 8080 bus type LCD to AM1808, I set the LCDC operated in LIDD mode in uboot as below:
1. Config the pins to LCD pin functions by using davinci_configure_pin_mux(...).
2. Turn on the LCDC by using lpsc_on(32+16).
3. Config LCDC as Sync MPU80 bus type, CLKDIV = 2.
4. Set the LIDD_CS0_CONF to a suitable timing.
Then I create a dead loop to write to LIDD_CS0_ADDR and LIDD_CS0_DATA repeatedly. But it stops after it loops only one time. That is, it stops at next time that LIDD_CS0_ADDR is written again. It seems it has some kind of problem in sending out the data, liked the LCD_CLK is stopped clocking. Below is a dump of the registers:
REVID = 4C100102
LCD_CTRL = 00000200
LCD_STAT = 00000000
LIDD_CTRL = 00000002
LIDD_CS0_CONF = 18E032D0
Do I miss somthing?
Regards,
Colman