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.

Interface LCD module using SPI in Linux

Other Parts Discussed in Thread: AM3354

Hi,

I want to interface NT75451 lcd controller using SPI interface to am3354 based custom board.

Can somebody please suggest me the documents or device driver examples for Interfacing LCD module using SPI in Linux to refer.

I would highly appreciate any help in this regard. :)

Thanks

  • Doesn't your LCD have a parallel data bus? You can interface it using the LIDD mode of the AM335X LCD controller. If you need to use SPI you will probably have to write your own driver. I haven't seen any examples of serial interface to LCD on this processor.

  • Hi Biser,


    Thanks for your reply.

    We are using SPI interface. I will try to do that.

    Thanks

  • I would implement a Linux framebuffer (FB) driver that exposes the framebuffer to any application and implement the SPI protocol of the controller on the other end using kernel's SPI interface to talk to it.

    May have to do some data mangling due to pixel data differences between FB and the controller but at that kind of resolution that shouldn't be a problem.

    If the LCD is only used by one application you could go with SPIDEV approach and implement the driver in userspace, that way you could form your drawing routines optimally to the controller and wouldn't need to try to fit them to what the FB layer offers.

    The upside of using the FB interface is of course that pretty much any application can use the display.

  • Hi

    Have you got any best workaround for the issue. I like to interface ePaper display with Beagle bone black through SPI interface.

    regards,

    Venkat