bmpDraw on M0 and TFT FeatherWing with SD

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
clampron
 
Posts: 17
Joined: Thu Jun 22, 2017 2:48 pm

Re: bmpDraw on M0 and TFT FeatherWing with SD

Post by clampron »

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.

User avatar
clampron
 
Posts: 17
Joined: Thu Jun 22, 2017 2:48 pm

Re: bmpDraw on M0 and TFT FeatherWing with SD

Post by clampron »

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.

User avatar
clampron
 
Posts: 17
Joined: Thu Jun 22, 2017 2:48 pm

Re: bmpDraw on M0 and TFT FeatherWing with SD

Post by clampron »

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

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: bmpDraw on M0 and TFT FeatherWing with SD

Post by adafruit_support_rick »

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

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: bmpDraw on M0 and TFT FeatherWing with SD

Post by adafruit2 »

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

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

Re: bmpDraw on M0 and TFT FeatherWing with SD

Post by danchen »

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!

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: bmpDraw on M0 and TFT FeatherWing with SD

Post by adafruit_support_rick »

Are you running GraphicsTest or GraphicsTest_Featherwing?

Please post some pictures of your soldering.

Also, post the complete output from Serial Monitor

User avatar
rengelking
 
Posts: 9
Joined: Wed Dec 30, 2015 10:50 am

Re: bmpDraw on M0 and TFT FeatherWing with SD

Post by rengelking »

Nothing wrong with the card ... bug in the example: Change the file path, prepend a forward slash to the name: bmpDraw( "/purple.bmp",0,0 );

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

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”