Hello,
I am currently engaged in a project that involves the use of the LPC54618J512BD208 microcontroller. I am facing a challenge with the interface of the LCD display(G057VN01V2).
When I attempt to display text, it does not appear as expected. Interestingly, the color blue displays correctly, but other colors do not seem to work.
The SDRAM part number for reference is IS42S32160D-5BL.
For further clarity, I am attaching the configurations of both the LCD and SDRAM.
Any help or suggestions would be greatly appreciated.
Hello @nithin3200
There is a demo and AN can refer to:
https://www.nxp.com/docs/en/nxp/application-notes/AN12027.zip
BR
Alice
> When I attempt to display text, it does not appear as expected. Interestingly, the color blue displays correctly, but other colors do not seem to work.
I think the problem is in your code.
Check the color mode you are using, and alignment of the respective bitfields in one color RAM word.
Like, one of the common 16-bit color modes used in LCDs is 5-6-5 (RGB).
I wouldn't think it is a clock issue if at least one color is displayed correctly.
As a side note, I am not an NXP employee or have any such board currently, so I have neither the time nor the hardware to get too deep into your issues. But I can share my experiences.
Having dealt with LCD display controllers in the past, the sparingly documented register interface can be a challenge and usually requires some experimentation. The applies to both geometry (sizes & orientation) and colors.
For the geometry settings, I used to draw a diagonal line onto the display (just increment x and y coordinated simultaneously.
For color, I used lines/blocks of one primary color (R, G or B), side by side. Intensity variations and gradients follow afterwards.