2.8 TFT display not working in SPI mode, works in 8 bit mod

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
RSMcDonald
 
Posts: 16
Joined: Sat Mar 06, 2021 6:17 pm

Re: 2.8 TFT display not working in SPI mode, works in 8 bit

Post by RSMcDonald »

I will try to describe the pin and connector system used in the picture, I have used this system for over 20 years in my designs in Practical Technologies lab. Inc. in which Iwas a contract engineer. I have found this system to be extremely reliable over a very long product lifetime. It is rather expensive but the high reliability is worth it.

I hope the pictures with the descriptions are self explanatory,

Ray McDonald AD0JK
Attachments
break away header pins
break away header pins
PA317938a.JPG (257.24 KiB) Viewed 293 times
wire with crimped connector pin
wire with crimped connector pin
PA317939a.JPG (141.64 KiB) Viewed 293 times
breadboard wiring assembly
breadboard wiring assembly
PA317940a.JPG (153.99 KiB) Viewed 293 times

User avatar
RSMcDonald
 
Posts: 16
Joined: Sat Mar 06, 2021 6:17 pm

Re: 2.8 TFT display not working in SPI mode, works in 8 bit

Post by RSMcDonald »

I will try to describe the connector system used on the breadboard. I have used this system for over 20 years at Practical Technologies Lab. Inc. and it has been found to be highly reliable connector system.

I will label the pictures.

Ray McDonald AD0JK
Attachments
connector for the pin
connector for the pin
PA317937a.JPG (289.7 KiB) Viewed 293 times
pins for the crimper
pins for the crimper
PA317936b.JPG (242.83 KiB) Viewed 293 times
the crimper with the pins and the pin socket as well as a wire with a crimped pin and the breakaway headers
the crimper with the pins and the pin socket as well as a wire with a crimped pin and the breakaway headers
PA317935a.JPG (160.35 KiB) Viewed 293 times

User avatar
RSMcDonald
 
Posts: 16
Joined: Sat Mar 06, 2021 6:17 pm

Re: 2.8 TFT display not working in SPI mode, works in 8 bit

Post by RSMcDonald »

picture of the crimp pins and the connector that holds them
picture of the crimp pins and the connector that holds them
PA317935a.JPG (160.35 KiB) Viewed 289 times
I posted pictures three times yesterday but they are not shown now. I will try again. The assemble on the UNO consista back-to-back breakaway header pins soldered into a prototype board cut down to size. the assembly that connects to the display consists of crimped connectors shown in the picture. I have been using this method for a very long time with excellent and reliable results. I have more pictures but I will just add one because the other times the pictures did not get posted.

Ray McDonald

User avatar
RSMcDonald
 
Posts: 16
Joined: Sat Mar 06, 2021 6:17 pm

Re: 2.8 TFT display not working in SPI mode, works in 8 bit

Post by RSMcDonald »

The display is very intermittent. It will work for about 30 seconds once in twenty to fifty resets by either hitting and holding the UNO reset button or unplugging the UNO and then plugging it back into the USB port.

User avatar
adafruit_support_carter
 
Posts: 29473
Joined: Tue Nov 29, 2016 2:45 pm

Re: 2.8 TFT display not working in SPI mode, works in 8 bit

Post by adafruit_support_carter »

For the sake of troubleshooting, can you make the connections more directly from the UNO to the TFT? i.e. without the custom connector system.

User avatar
RSMcDonald
 
Posts: 16
Joined: Sat Mar 06, 2021 6:17 pm

Re: 2.8 TFT display not working in SPI mode, works in 8 bit

Post by RSMcDonald »

The display will come on and work onec in about twenty to fifty UNO resets or power cycles. When it works it only stays working for about 30 seconds to a couple of minutes before it turn back to a totally white screen. Without touching anything but the UNO reset button, I can get it to work in the twenty to fifty resets. This is definitely an internal transient condition in my opinion.

I have answered the above question about the UNO wiring three times but do not see that here now. What happened???

Ray McDonald

User avatar
RSMcDonald
 
Posts: 16
Joined: Sat Mar 06, 2021 6:17 pm

Re: 2.8 TFT display not working in SPI mode, works in 8 bit

Post by RSMcDonald »

Yes, as a last attempt, I will use direct wiring to the display with solid 20 gauge wire being plugged into the UNO.

Ray McDonald

User avatar
RSMcDonald
 
Posts: 16
Joined: Sat Mar 06, 2021 6:17 pm

Re: 2.8 TFT display not working in SPI mode, works in 8 bit

Post by RSMcDonald »

The display is now working fine. It just passed a 24 hour power-on test. It turns out that a connector on the UNO was giving the intermittent problem. Some times the smallest problems are the hardest to find. Thank you for all of your help. It is appreciated.
Ray McDonald AD0JK

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”