This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All
I We are trying to use both LCD Enables on LIDD LCD controller on OMAP-L138
We are using character LCD in 8 bit mode. So far we just succeeded to show characters only on second display and our efforts to use first "Enable" shows nothing!
According to the sprufm0b document Table-3 , we used LCD_MCLK for Enable on first display and LCD_PCLK for Enable on second display. (LIDD_CTRL[2:0]=100)
There is also a mismatch on Table 1 and Table 3 in sprufm0b document as listed below:
Signal | Description on Table 1 | Description on Table 3 (Character Display) |
LCD_PCLK | LIDD character: not used | Enable Strobe (first display) |
LCD_MCLK | LIDD character: Secondary enable strobe | Enable Strobe (second display optional) |
LCD_AC_ENB_CS | LIDD character: Primary enable strobe | Not Used |
Is there anything needed to be modified?
LCD_RASTER_CTRL &= 0xfffffffe; // Turn raster controller off LCD_LIDD_CTRL = 0x0000000C; // LIDD mode 0x4 LCD_LCD_STAT = 0x000003ff; // Clear status bits LCD_LCD_CTRL = 0x00002500; // PCLK = 150MHz / 37 = 4.054 MHz, LIDD mode LCD_LIDD_CS0_CONF = 0xF7DCE3BA;
Hi Yordan
I've read that section on TRM more than a dozen times. It doesn't work. So we've used 2 GPIO to control both Enables of the character LCD. We've managed it in the software. Maybe we missed something. I'll give it another try and update the post for reference.
Best Regards