0

bmpDraw on M0 and TFT FeatherWing with SD
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: bmpDraw on M0 and TFT FeatherWing with SD

by clampron on Mon Jul 17, 2017 6:03 pm

The card I'm currently using is a class 10. I'll purchase 3 alternatives with different specs and see if any of them work.

clampron
 
Posts: 11
Joined: Thu Jun 22, 2017 2:48 pm

Re: bmpDraw on M0 and TFT FeatherWing with SD

by clampron on Mon Jul 17, 2017 7:09 pm

Also, I read that at least 1 pin is used for the SD. Is it possible that one pin is defective? Sounds like everything else is via SPI.

clampron
 
Posts: 11
Joined: Thu Jun 22, 2017 2:48 pm

Re: bmpDraw on M0 and TFT FeatherWing with SD

by clampron on Mon Jul 17, 2017 10:08 pm

I tried two more SD cards tonight.
(1) SanDisk: Class 4 - Works great on the 32U4, not the M0.
(2) Lexar by Micron: Class 10 - Works great on the 32U4, intermittent on the M0.

The Lexar worked first try on the M0. I then added the purple.bmp file to it, booted the M0 and it wouldn't initialize the SD. (Same problem as before). I then reformatted it using the formatter from sdcard.org and transferred the file back to it and it worked on the M0 (all tested ok). I then compiled and uploaded another test program (without touching the SD or M0 or unplugging anything) and ran into initialization issues again. After using the power switch on the TFT, it then worked again.

Very strange behavior.

Any advice to resolve the instability?

Here's the formatter I used:
https://www.sdcard.org/downloads/formatter_4/index.html

Curt

clampron
 
Posts: 11
Joined: Thu Jun 22, 2017 2:48 pm

Re: bmpDraw on M0 and TFT FeatherWing with SD

by adafruit_support_rick on Tue Jul 18, 2017 9:09 am

Oh, man. I have no idea. Let's try replacing the M0. That's all I can think of.
Please email support@adafruit.com with a link to this post for a replacement

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

Re: bmpDraw on M0 and TFT FeatherWing with SD

by adafruit2 on Mon Jul 24, 2017 2:43 pm

hiya don't forget you have to set pin #8 to be an INPUT_PULLUP!
https://learn.adafruit.com/adafruit-fea ... dio-module

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

Re: bmpDraw on M0 and TFT FeatherWing with SD

by danchen on Thu Aug 10, 2017 5:45 pm

Hello, I wired up my Feather M0 with the 128x128 TFT display and try to run the "Adafruit_ILI9341 > Graphic Test"
but it's showing white screen. the serial monitor is indicating that the scripting is running, but it's not slowing anything but white.

Here is my wiring

Feather M0 > 128x128 TFT
SCK > SCK
MOSI > MOSI
MISO > MISO
VIN > 3.3V
GND > GND
D/C > 9
TFT_CS > 10

Is there something wrong with my wiring?

thank you!

danchen
 
Posts: 5
Joined: Sat Nov 14, 2015 6:27 pm

Re: bmpDraw on M0 and TFT FeatherWing with SD

by adafruit_support_rick on Fri Aug 11, 2017 9:41 am

Are you running GraphicsTest or GraphicsTest_Featherwing?

Please post some pictures of your soldering.

Also, post the complete output from Serial Monitor

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.