Using a SPI graphics display
rwgast_logicdesign
Posts: 1,464
So ive been ordering lots of goodies lately and I came across this on ebay
http://www.ebay.com/itm/1-8-Serial-128X160-SPI-TFT-LCD-Module-Display-PCB-Adapter-with-SD-Socket-/200764741074?pt=LH_DefaultDomain_0&hash=item2ebe82d5d2#ht_4835wt_1164
I know the sd socket is no problem and there is pleanty of stuff in obex already out there, but what about the display? Are spi based displays like this all a fairly generic to communicate with or am I going to have to write custom drivers to use this display? I havent used any spi stuff yet so Im unclear about how it works, do spi devices have there own documented protocols? Looking at the bottom of this there is only one of each spi pin so spi can be chained like i2c, ie this is using the same prop pins to run the sd and lcd? So that means I can connect my spi sram on the same pins too? What happens is your devices have diffrenent clock speeds.
http://www.ebay.com/itm/1-8-Serial-128X160-SPI-TFT-LCD-Module-Display-PCB-Adapter-with-SD-Socket-/200764741074?pt=LH_DefaultDomain_0&hash=item2ebe82d5d2#ht_4835wt_1164
I know the sd socket is no problem and there is pleanty of stuff in obex already out there, but what about the display? Are spi based displays like this all a fairly generic to communicate with or am I going to have to write custom drivers to use this display? I havent used any spi stuff yet so Im unclear about how it works, do spi devices have there own documented protocols? Looking at the bottom of this there is only one of each spi pin so spi can be chained like i2c, ie this is using the same prop pins to run the sd and lcd? So that means I can connect my spi sram on the same pins too? What happens is your devices have diffrenent clock speeds.
Comments
SPI usually has a CS (chipSelect) line, that is used to enable each slave.
Some SPI designs allow chaining, but that is less common.
Your link above tags as TFT_SDA and TFT_SCK, so I would suspect that is i2c, not SPI - the SPI is for the SD only ?
http://www.ebay.com/itm/1x-1-8-Serial-SPI-TFT-Color-LCD-Module-Display-128X160-262K-E048-/261036868736?pt=LH_DefaultDomain_0&hash=item3cc7028480#ht_2635wt_1164
There is no data sheet on either of these pages... So is this thing pretty much going to be a waste of money and unusable?
Without data and code examples, it is anyone's guess just how you talk to this.
It may be a 3 wire SPI variant, like the 8051 Mode0, but that is just a guess.