Loading...
Pages: [1]   Go Down
Author Topic: 3.2" Touch w/ SD correct SPI Pins but but still no SD Function  (Read 231 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay I know there is TONS of info on this topic on the net and I have run into what seems to be a unique bit though I hope not. I have a SainSmart 3.2 Touch TFT w/ SD Card and the associated V1.0 shield that everyone flips the wiring on. But I have seen posts where people say theirs is fine. I absolutely tripple checked the wiring with my multimeter. Its right on mine.

50,51,52,53 on my Mega 2560 to 35,37,36,38 on the TFT Screen. I even tried the reverse wiring.

My question pertains to the software side of things. it should be regardless which SD library I choose... right?

I dont have much experience with tinyFAT.h but I have used SD.h and SdFat.h in the past with other shields just fine. In digging around, I see one has been made for UTFT_tinyFAT.h. And I ended up trying all 3. When using the standard SD.h or SdFat.h I can not get the card to initialize with SD.begin. Now when I use UTFT_tinyFAT.h... file.initFAT(); is saying its working in an if statement. However, I cant do anything with the card. read/write/etc. So I dont believe it. I can not get any of the demos to work and the with the pictures on the card.

I am slogging through the wealth of information on this damn thing but nothing really pertains to my situation. Any help is appreciated. Thanks alot.
« Last Edit: March 14, 2013, 07:30:35 pm by rcullan » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Note: The library only supports FAT16 fomatted SD card up to 2GB, so you need to fomat your SD card to FAT16. 4GB FAT16 fomatted SD card is tested not working. Long file names are not supported. Keep your file names compliant with 8.3 standard.

Interface SD card to Arduino mega:

SCK -> D52
MISO -> D50
MOSI-> D51
CS -> D53
Logged

Pages: [1]   Go Up
Print
 
Jump to: