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.

Windows compact 7 Image color resolution not proper

Hi,

 

Image color resolution not proper

I am using SBC8530 board (Processor DM37) and 7inch LCD. Using Windows compact 7 BSP version BSP_WINCE_ARM_A8 2.00.00.02. I have modified the lcd_vga.c file to suite the 7 inch LCD (800x 480). Width is set to 800 and height is set to 480 for default LCD parameter.

If I open a video or the jpg file the color resolution of image is not proper. Please see the attachment which shows the image captured from 7inch LCD and my laptop. The behavior is same for video file also.

LCD- 7 inch

LCD 7 inch

Laptop

Laptop

The same behavior is seen in the DVI output to the LED monitor. Please help me in resolving this issue.

  • I don't see any fundamental color issue looking at your pictures. Please note that the DM37x BSP is configured for 16bit color (unless you have changed the default configuration) while your laptop is using full 32bit color. The color depth difference will obviously make for some visual difference. Are you seeing something more than that?

     

  • Jain,

    I found the root cause it is because I didnt properly configured the DSS_DATA line according to my hardware.

     

    Earlier I have configued mode wrongly which enabled the port pin functionality as DSS_DATA18 to DSS_DATA23

        PAD_ENTRY(DSS_DATA18          ,INPUT_DISABLED | MUXMODE(0)) /* DSS_DATA 0 */ \
        PAD_ENTRY(DSS_DATA19          ,INPUT_DISABLED | MUXMODE(0)) /* DSS_DATA 1 */ \
        PAD_ENTRY(DSS_DATA20          ,INPUT_DISABLED | MUXMODE(0)) /* DSS_DATA 2 */ \
        PAD_ENTRY(DSS_DATA21          ,INPUT_DISABLED | MUXMODE(0)) /* DSS_DATA 3 */ \
        PAD_ENTRY(DSS_DATA22          ,INPUT_DISABLED | MUXMODE(0)) /* DSS_DATA 4 */ \
        PAD_ENTRY(DSS_DATA23          ,INPUT_DISABLED | MUXMODE(0)) /* DSS_DATA 5 */ \

     

    Problem solved when I changes the configuration which enabled the port pin functionality as DSS_DATA0 to DSS_DATA5

     

        PAD_ENTRY(DSS_DATA18          ,INPUT_DISABLED | MUXMODE(3)) /* DSS_DATA 0 */ \
        PAD_ENTRY(DSS_DATA19          ,INPUT_DISABLED | MUXMODE(3)) /* DSS_DATA 1 */ \
        PAD_ENTRY(DSS_DATA20          ,INPUT_DISABLED | MUXMODE(3)) /* DSS_DATA 2 */ \
        PAD_ENTRY(DSS_DATA21          ,INPUT_DISABLED | MUXMODE(3)) /* DSS_DATA 3 */ \
        PAD_ENTRY(DSS_DATA22          ,INPUT_DISABLED | MUXMODE(3)) /* DSS_DATA 4 */ \
        PAD_ENTRY(DSS_DATA23          ,INPUT_DISABLED | MUXMODE(3)) /* DSS_DATA 5 */ \

    Thanks

    Ashwin