mm2426
Posts: 6
Joined: Tue Jul 23, 2013 12:49 pm

Interfacing a spi lcd to pi.

Thu Nov 28, 2013 10:11 am

Hello Friends,
I am trying to interface an SPI lcd from winstar to pi. Can anyone guide me how to start.
I am successful to interface this lcd with my ARM Cortex M3 device. Now I want to port its code for the PI.
My aim is to shift the pi's normal display output from AV to this lcd.
Can anyone help or guide?

Antares
Posts: 13
Joined: Thu Oct 03, 2013 10:09 pm

Re: Interfacing a spi lcd to pi.

Thu Nov 28, 2013 5:06 pm

Maybe you should look at this:
https://github.com/notro/fbtft/wiki
https://github.com/notro/fbtft

There you can find drivers for several LCD, that can be used as main displays for the Pi (even with X). There are also some clues to build your own device driver.

mm2426
Posts: 6
Joined: Tue Jul 23, 2013 12:49 pm

Re: Interfacing a spi lcd to pi.

Sat Nov 30, 2013 9:19 am

Ok so I need to implement a frame buffer for that. I could interface with the lcd using the spi on pi. Now how to write a driver for that and implement the frame buffer?

Antares
Posts: 13
Joined: Thu Oct 03, 2013 10:09 pm

Re: Interfacing a spi lcd to pi.

Sat Nov 30, 2013 12:46 pm

You should first check if your LCD is already supported (since you succeeded in make it work for the M3, I assume you have identified the inputs and the chip driver), if it's so, I think you download the modified raspbian and there you go. If that's not the case, look at the development section on the wiki, you can find there the (rather difficult) steps to include your LCD on the library. I have not tested that, but there is a thread in this forum talking about the fbtft library: http://www.raspberrypi.org/phpBB3/viewt ... ield+Board

Return to “Graphics programming”