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.

xM LCD7 interface with LCDK C6748

Hi TI Experts:

When I connected J3 and J4 of Beagleboard xM LCD7 (from CircuitCo) to P1 and P2 of LCDK C6748, and run demoMain from StartWare_1_20_04_01. on screeen, the menu is flipped upside down. Could you please tell me why it happens and how to correct it? is it LCD wrong or software driver wrong?

Thanks!

Mike

  • Hi Mike,
    Could you attach the snap shot of the problem.

    Are you using TI recommended LCD and it supported by starterware sw ?

    What is the LCD display resolution size ?

    Can you run the following raster app ?

    C:\ti\C6748_StarterWare_1_20_04_01\examples\lcdkC6748\raster
  •  Hi Titus:

    Thank you for support me again!!

    I use Beagleboard -xM LCD7 (previous called ULCD7 Lite). which has resolution 800x480. which is recommended by TI to be compatible with LCDK C6748.
    I run both raster _c674x_c6748_lcdkC6748 and demo _c674x_c6748_lcdkC6748. both show a flipped upside down image, snap shots from screen are attached. When touch screen, there is no responce for demo program from StartWare_1_20_04_01.

    Please give advice how to deal with. Is this LCD7 wrong or something else?

    xM LCD7 is on http://elinux.org/CircuitCo:BeagleBone_xM_LCD7.



    Best Regards,
    Mike

  • Hi,

    I have few questions on raster LCD demo which you are using and did you reconfigured LCD setup in the code to support for Beagleboard -xM LCD7.

    1. what is your raster display mode configured? Is it TFT or STN mode?

    2. which is your display type configured in the code? are you using color or monochrome mode?

    3. what is your raster palette mode value it takes for loading? is it loaded with both palette and data? or only palette? or only data?

    Ultimately, it depends on how the raster mode is configured to use you Beagleboard -xM LCD7 in order to display appropriately.

    Have you modified any starterware raster LCD driver API's to configure horizontal and vertical timing parameters and number of lines per panel using the below API's in your code:

    RasterHparamConfig()

    RasterVparamConfig()

    Are you using the example "as-is" or your own custom code?

    I don't think, touchscreen starterware/bios driver is supported on c6748 LCDK to use the privilege of touch screen, rather the touchscreen capability is supported when you use BeagleBoard-xM LCD7 for BeagleBoard-xM board, but not for LCDK boards.

    May be, i would recommend you to probe the LCD_D[7:0] Data bus pin for the operating mode which is configured by raster controller in the code you use. Please validate the data pattern on the scope via probing the corresponding data pins and correlate the same which you are observing on the LCD display. See Table 22-4 for the operating modes supported by raster controller from the c6748 TRM below:

    http://www.ti.com/lit/ug/spruh79a/spruh79a.pdf

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    --------------------------------------------------------------------------------------------------------

  • Hi Titus:

    I wonder if you have time to look after my problems. Since TI recommends ULCD7 lite (by CircuitCo) with LCDK C6748, I guess somebody has tested it and have a sample test progarm. Please give an advice.

    Thanks!
    Mike
  • Hi Mike,
    Sorry for the delayed response.
    We don't have LCD to test this.
    Have you tried the Sivaraj's suggestion ?
    I will try to reproduce this problem tomorrow with VGA display.
    So that, we can try to find out which API is responsible for flipping the display.
  • Hi Titus:

    The LCD display  flipped upside down is corrected. the reason is that LCD has controll register to be updated after power up (see ULCD manual). Thanks very much for your support.

    Mike

  • Hi Mike,

    Wow! I'm really glad that you able to solve the problem.

    Sorry for the delayed response on this.
    Actually I help up with other issues, so I'm not able to reply.
    I've tried to reproduce the problem with VGA display and not able to do.

    Thank you so much sharing the solution with us, surely it would help others too.
    If would be more helpful if you share that what register you had been modified.

    Thanks for your update.
  • Hi Titus:

    The control register 0x0D in ULCD7, set value to 0x01.

    Thanks,

    Mike

  • Hi Mike,
    Thanks for the solution for ULCD7.