Rocktech display works with some changes on LVGL_DEMO_WIDGETS sample example. We are trying to connect a different display with 640x480 display. I looked at the file - lvgl_support.c where clocks are configured in DEMO_InitLcdClock(). But, I am not sure how the constants are used for PLL, dividers etc. Can someone help here to explain?
Hi @shahmanishj ,
You can refer to this application note:
https://www.nxp.com.cn/docs/en/application-note/AN12302.pdf
When you use the new LCD, you need to check your LCD datasheet, find the related data:
Then modify the code.
I recommend you test the LCD code at first in the SDK, eg:
SDK_2_11_1_EVK-MIMXRT1064\boards\evkmimxrt1064\driver_examples\elcdif
After the LCD works, then you can add to other LCD related project.
Wish it helps you!
Best Regards,
Kerry