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.

AM62L-PROCESSOR-SDK: TVG Test Pattern Script to test RGB Display

Part Number: AM62L-PROCESSOR-SDK


Tool/software:

Hi , 

I have tested and properly validated an RGB display which takes DPI PIn directly from cpu to display resulting in Lvgl-demo in the bootup time. I would like to test the display with a scipt using to get the TVG Test patterns in the display. I have seen Test Patterns in a MIPI display using the below given scripts.

echo "REG_BLKEOL_MODE & REG_BLKLINE_MODE : 3"
k3conf write 0x305000B0 0x81F8FE00 | grep addr
echo "-------- Enabling test pattern"
echo "DSI_TVG_CTL WRITE (disable TVG_RUN)"
k3conf write 0x305000fc 0x000000B8 | grep addr
sleep 1
echo "DSI_MCTL_MAIN_EN WRITE (disable IF2_EN)"
k3conf write 0x3050000C 0x000000F9 | grep addr
echo "DSI_MAIN_DATA_CTL WRITE (enable TVG, disable VID_EN)"
k3conf write 0x30500004 0x00020047 | grep addr
sleep 1
echo "DSI_MAIN_DATA_CTL WRITE (enable TVG, enable VID_EN)"
k3conf write 0x30500004 0x00020067 | grep addr
echo "DSI_TVG_IMG_SIZE WRITE (setup lines / size 1024x600)"
k3conf write 0x30500100 0x02580C00
echo "TEST PATTERN COLOR 1"
k3conf write 0x30500104 0x0FFF0000 | grep addr
k3conf write 0x30500108 0x00000000 | grep addr
echo "TEST PATTERN COLOR 2"
k3conf write 0x3050010c 0x00000FFF | grep addr
k3conf write 0x30500110 0x00000000 | grep addr
echo "DSI_TVG_CTL WRITE (enable TVG_RUN)"
k3conf write 0x305000fc 0x000000B9 | grep addr


Could yoy please let me know What changes has to be done to see the test pattern in my DPI Display. Any guidance will be appriaciated.

Regards,
Dheeraj k