Using SPI on a SDT032TFT
Dear forum members,
I am new in this forum, and I am just starting a design using the SDT032TFT-TS. It has a low-speed graphics requirement, and a low-budget one as well, so my intention is to use the SPI interface connected to a low-cost microcontroller. I've got two questions, and I would appreciate any comments or hints.
Question 1: the LCD spec says in a footnote of the general specifications "(1) Serial interface is available, but not recommendable, as the speed of it is very slow." Speed is no problem for my application, so can I go on and stick to SPI?
Question 2: I've found a couple of sample codes regarding the controller initialization, but most of them lack the definition of the registers involved and their configuration bits. Has anyone got the data sheet for the SSD1289 to share?
I am also planning to use the 2.8" TFT display in another design with similar requirements (low-speed, SPI) and question 1 above applies to it too.
Thanks,
Julio de Melo
Hi there,
Please, disregard question 2: I missed the link to the SSD1289 data sheet in the products area.
Julio
Hi Julio,
As you noticed by searching this forum, there is not a lot of users that are going toward the SPI path. I'm in the same boat as you, well in part. Meaning I need to use both interfaces, SPI and Parallel (never at the same time). I was not able to get the SPI interface to work yet, the design engineer is looking into his design to make sure his part is designed according to spec. You can read my post (http://forum.displaytech-us.com/2010/03/12/spi-4-wire-interface/#post3).
I'm interested to see if you get the SPI interface to work on your side. My main issue is to determine if I have all of my timing correctly setup by trying to read back two specific registers, so far no luck.
thanks,
s2c97
Hi Julio - Yes, you can use it in SPI mode, however like the spec says it is just not recommended because it is slow.
Hi Romeo and Trevor,
Thanks for the replies. My design is close to an almost static image display, so SPI would not be a problem if I can access the pixels correctly. I am not doing a whole screen update, only a very limited region so I think I can do with the slow SPI pace.
To be on the safe side, I designed a parallel interface as well, but if I'm able to handle everything with SPI, that would allow me to use a much cheaper and smaller microcontroller.
I'll let you know if I'm successfull with SPI.
Julio
Great let me know! That way it might shed some light on my SPI issues.
regards
s2c97
I am embarking on the same journey! I just got my hardware today, and built my tools. Soon, I'll be in the thick of it...
Anyone get the SPI working yet?
Regards,
-Bob
How do I turn to SDT032TFT with 3-wire spi and what commands I use?
@yochaihodus- please refer to pages 19 and 69 on the data sheet for the SSD1289 controller. The data sheet can be downloaded from the TFT MODULES page at www.displaytech-us.com.
Regards,
Terry
Thank you very much
Can you give me much more specific download link please? it will be helpfull
Yochaihodus -
http://www.displaytech-us.com/products/tftmodules.php Using the previous link, please scroll about half way down the page and click on the SSD1289, which will automically ask if you want to open the PDF.
Regards,
Trevor
I already have it.
I need some example program which help me to write my own program according to the datasheet.
For example I want to Initialize the touchscreen and start to communicate with the computer by using 3-wire spi.
Do you think that you can help me?
I will appreciate it.