0

2.4" TFT TOUCHSCREEN FEATHERWING blank screen
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by jcwspoon on Sat Apr 22, 2017 10:23 am

I am having a problem with the Wiced Feather and the TFT Featherwing.

I have just recently begun testing this setup and I have yet to get anything to display on the screen. The screen is lit up and appears white or light blueish.

The sketch I am running is the graphics_test from the TFT Learn topic at:
https://learn.adafruit.com/adafruit-2-4 ... phics-test

The sketch appears to execute without issue and I see output on the serial monitor as shown here:

Code: Select all | TOGGLE FULL SIZE
FeatherWing TFT Test!
Display Power Mode: 0x0
MADCTL Mode: 0x0
Pixel Format: 0x0
Image Format: 0x0
Self Diagnostic: 0x0
Benchmark                Time (microseconds)
Screen fill              1536638
Text                     83542
Lines                    769695
Horiz/Vert Lines         126110
Rectangles (outline)     80394
Rectangles (filled)      3189156
Circles (filled)         459125
Circles (outline)        336273
Triangles (outline)      174759
Triangles (filled)       1044247
Rounded rects (outline)  157464
Rounded rects (filled)   3470993
Done!


I have seen different values in the serial monitor being reported for the Power Mode, etc. But what I see has never matched what the learn page shows.

I have two identical setups and I have tested both with the same results, I have swapped out devices in the configurations also with the same results.

I have the tool chain and Arduino 1.8.2 setup properly and I am able to compile and load code into the Wiced without issues.

I don't think I have any cold joints, however I will heat them up and review them closely to make sure!

Is this known to work?

jcwspoon
 
Posts: 8
Joined: Wed Aug 26, 2015 5:44 pm

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by adafruit_support_rick on Sun Apr 23, 2017 11:25 am

The 0x00 values here mean that the WICED is not able to communicate with the display:
Code: Select all | TOGGLE FULL SIZE
Display Power Mode: 0x0
MADCTL Mode: 0x0
Pixel Format: 0x0
Image Format: 0x0
Self Diagnostic: 0x0


Please post clear, detailed pictures of both sides of the feather and featherwing, showing your soldering

adafruit_support_rick
 
Posts: 34768
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by jcwspoon on Sun Apr 23, 2017 5:04 pm

Here are a few pictures. I will go over a couple of the solder joints to try to clean them up a bit, but I don't see anything which is terribly obvious from a solder joint standpoint.
Attachments
IMG_0715.jpg
IMG_0715.jpg (910.09 KiB) Viewed 439 times
IMG_0714.jpg
IMG_0714.jpg (839.99 KiB) Viewed 439 times
IMG_0713.jpg
IMG_0713.jpg (278.83 KiB) Viewed 439 times

jcwspoon
 
Posts: 8
Joined: Wed Aug 26, 2015 5:44 pm

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by jcwspoon on Sun Apr 23, 2017 5:06 pm

I reworked all of the solder joints on both boards.

I am still having the same problem with both. As I mentioned, I also have two TFT Featherwing boards and each board behaves the same when connected to each.

I do observe different reads when running the graphicstest_featherwing application, i.e. sometimes the reads result in different results rather than always zero.

One of the two Wiced boards has headers which allow me to attach a Featherwing OLED and load the FeatherOLED sketch. This works without issue, I connect and I observe a properly updating OLED display.

Thank you for your help Rick!

jcwspoon
 
Posts: 8
Joined: Wed Aug 26, 2015 5:44 pm

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by adafruit_support_rick on Mon Apr 24, 2017 3:16 pm

OK, so it works with my WICED feather. What version of Arduino are you using? Do you have the latest version of the WICED board package? You can get it from the Arduino Board Manager.

adafruit_support_rick
 
Posts: 34768
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by jcwspoon on Mon Apr 24, 2017 6:26 pm

I am running Arduino version 1.8.2
Adafruit WICED version 0.6.2 (the most current)

dfu.exe info output:
Code: Select all | TOGGLE FULL SIZE
Feather
ST32F205RGY
3532313135334xxxxxxxxxxxxx
44:39:C4:aa:aa:aa
1.0.0
3.5.2
0.6.2
0.6.2
Nov  4 2016


I am going to set with an ESP8266 tonight and see if I have any better luck. I'll let you know how it goes.

jcwspoon
 
Posts: 8
Joined: Wed Aug 26, 2015 5:44 pm

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by adafruit_support_rick on Tue Apr 25, 2017 10:41 am

jcwspoon wrote:I am going to set with an ESP8266 tonight and see if I have any better luck. I'll let you know how it goes.

Good idea. I'm curious.

adafruit_support_rick
 
Posts: 34768
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by jcwspoon on Tue Apr 25, 2017 6:52 pm

I set things up with a Feather ESP8266 last evening and both of my TFT Featherwings work as expected.

I plan to try to have a closer look at the pins being used on the Wiced compared to the ESP and see if there is some issue I can identify.

Can you confirm the versions of software I noted?

jcwspoon
 
Posts: 8
Joined: Wed Aug 26, 2015 5:44 pm

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by adafruit_support_rick on Wed Apr 26, 2017 12:40 pm

Well, I've got Arduino 1.8.1, but i'm using 0.6.2 of the WICED package.

This is very mysterious

adafruit_support_rick
 
Posts: 34768
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by jcwspoon on Thu Apr 27, 2017 8:02 pm

Hey Rick,

I was reading the tutorial again and noticed the following detail related to the different pins used by various Feather processor boards. It looks like the Wiced and the ESP8266 use different pins for the control signals.

Code: Select all | TOGGLE FULL SIZE
In addition, for the TFT display there is are D/C (Data/Command) and CS (Chip Select) pins. These are used to select the display and tell it what kind of data is being sent. These pins can theoretically be changed by cutting the jumper trance and soldering a small wire from the right-hand pad to the pin you'd like to use.
On the ESP8266, TFT_CS is pin #0, TFT_DC is pin #15
On the Atmega32u4 or M0 Feather, TFT_CS is pin #9, TFT_DC is pin #10
On the Teensy Feather, TFT_CS is pin #4, TFT_DC is pin #10
On the WICED Feather, TFT_CS is PA15 and TFT_DC is PB4


This detail is not completely clear to me but I'll sit down and figure it out this weekend. Any thoughts on this? Maybe this is my issue and I just overlooked this critical detail when setting things up.

Just a note, when switching between Wiced (which does not work) and ESP (which works great), should something change on the TFT Featherwing?

jcwspoon
 
Posts: 8
Joined: Wed Aug 26, 2015 5:44 pm

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by adafruit_support_rick on Fri Apr 28, 2017 8:53 am

Nothing changes on the featherwing. The only thing that changes is the pin assignments in the sketch, and the example code takes care of that for you with this stuff:
Code: Select all | TOGGLE FULL SIZE
#ifdef ESP8266
   #define STMPE_CS 16
   #define TFT_CS   0
   #define TFT_DC   15
   #define SD_CS    2
#endif
#ifdef __AVR_ATmega32U4__
   #define STMPE_CS 6
   #define TFT_CS   9
   #define TFT_DC   10
   #define SD_CS    5
#endif
#ifdef ARDUINO_SAMD_FEATHER_M0
   #define STMPE_CS 6
   #define TFT_CS   9
   #define TFT_DC   10
   #define SD_CS    5
#endif
#ifdef TEENSYDUINO
   #define TFT_DC   10
   #define TFT_CS   4
   #define STMPE_CS 3
   #define SD_CS    8
#endif
#ifdef ARDUINO_STM32_FEATHER
   #define TFT_DC   PB4
   #define TFT_CS   PA15
   #define STMPE_CS PC7
   #define SD_CS    PC5
#endif

Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);

adafruit_support_rick
 
Posts: 34768
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by brandonshope on Tue Jun 20, 2017 12:16 pm

I am having the same problem (white screen) with my WICED feather + the TFT. If this was resolved can you please share the solution. The display works fine with my other feathers.

Arduino IDE : 1.8.3

Bootloader version : 1.0.0
SDK version : 3.5.2
Firmware version : 0.6.2
Arduino library version : 0.6.2

My output from graphicstest_featherwing varies:

Display Power Mode: 0x94
MADCTL Mode: 0xB3
Pixel Format: 0xB3
Image Format: 0xB3
Self Diagnostic: 0x20
Benchmark Time (microseconds)
Screen fill 1543489
Text 82733
Lines 769599
Horiz/Vert Lines 126687
Rectangles (outline) 80762
Rectangles (filled) 3203416
Circles (filled) 460998
Circles (outline) 336243
Triangles (outline) 174755
Triangles (filled) 1048740
Rounded rects (outline) 157697
Rounded rects (filled) 3486342
Done!

Display Power Mode: 0xB3
MADCTL Mode: 0x17
Pixel Format: 0x17
Image Format: 0xB3
Self Diagnostic: 0x20
Benchmark Time (microseconds)
Screen fill 1543442
Text 82723
Lines 769594
Horiz/Vert Lines 126665
Rectangles (outline) 80748
Rectangles (filled) 3203460
Circles (filled) 460995
Circles (outline) 336262
Triangles (outline) 174788
Triangles (filled) 1048747
Rounded rects (outline) 157702
Rounded rects (filled) 3486354
Done!

Display Power Mode: 0x53
MADCTL Mode: 0x20
Pixel Format: 0x20
Image Format: 0xB3
Self Diagnostic: 0xB3
Benchmark Time (microseconds)
Screen fill 1543448
Text 82718
Lines 769602
Horiz/Vert Lines 126668
Rectangles (outline) 80742
Rectangles (filled) 3203503
Circles (filled) 460989
Circles (outline) 336269
Triangles (outline) 174787
Triangles (filled) 1048770
Rounded rects (outline) 157699
Rounded rects (filled) 3486379
Done!

brandonshope
 
Posts: 4
Joined: Sat Jun 10, 2017 4:18 pm

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by adafruit_support_rick on Wed Jun 21, 2017 10:19 am

Well, I'm baffled. My feather still had the graphics test loaded on it from a long time ago. I plugged it in, and it worked. Then I reloaded the sketch, and now I get the white screen. I don't know what the difference is. I'll keep trying to figure it out...

adafruit_support_rick
 
Posts: 34768
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by adafruit2 on Thu Jun 22, 2017 12:58 pm

thats odd but there have been some TFT Updates - can you try the library from this commit point?
https://github.com/adafruit/Adafruit_IL ... bc7535889e

adafruit2
Site Admin
 
Posts: 15236
Joined: Fri Mar 11, 2005 7:36 pm

Re: 2.4" TFT TOUCHSCREEN FEATHERWING blank screen

by adafruit_support_rick on Fri Jun 23, 2017 8:56 am

Yes, downgrading the library to 1.0.2 worked for me. I tried some different versions, and the problem seems to have appeared with library version 1.0.5. Version 1.0.4 works.
This appears to be the commit that broke it:
https://github.com/adafruit/Adafruit_IL ... 32a0b113b3

adafruit_support_rick
 
Posts: 34768
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Please be positive and constructive with your questions and comments.