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.

L138 LCD Controller Initialization

Other Parts Discussed in Thread: OMAP-L138

I am using the LCD controller on the L138 to output RGB video on a display. The thing is outputing video and everything like it shod, but i have a problem that pixel 0,0 never ends up in the uper left corner of the screen, it ends up somewhere in the middle and the rest of the image warps around.

Is there a special procedure for starting it up or is there a special procedure for setting the frame buffer address (I do that before initializing the actual controller) I can't seam to find any of this info in the prepherials pdf document.

  • Bernard,

      I have notified the LCDC expert of this thread and someone will get back to you shortly.

    In the mean time, any additional information you can share about your software architecture / hardware platform will help us expedite the solution to your problem.

    Based on your post, some example information that would be helpful for us to know would be:

     

    -Are us using the OMAP-L138 Kit from LogicPD or your own customer board? If you are using the LogicPD board, have you looked at their examples in the Board Support Library (BSL) that comes with the kit

    - Are you using any software providings by either TI or a 3rd Party? Or is this your own code.

     

     

     

  • I am using an hawkboard and programing it in raw C (Its from the new broken batch that locks up when you try to boot linux) Only piece of software i use are the .h files from the L138 C example so i get my registers named.

    After messing with it more i found out that turning the cache on full fixes the issue for some cases. When its compiled with optimisations on it sometimes initializes properly but with optimisations off it seams to work every time. This seams quite strange to me.

  • Bernard,

     

    You may wish to check hawkboard.org to see if someone has a resolution for the same issue.

    Which compiler are you using? Also note that the compiler may make optimizations based upon the information that you provide it, so more information you give the compiler in your variable declarations / keywords the smarter the compiler will be.