Psoc 4 and micro sdcard 4Gb

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
song_285461
Level 3
Level 3
First like received

 Hi everyone! I have a project about to micro sdcard. I want to communication psoc 4 and micro sdcard 4Gb use spi. 

   

Please tell me? 

   

Thank so much!

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

The emFile-component is only (so far) available for PSoC3/5. I would suggest you to get a CY8CKIT-059 which is comparably cheap.

   

 

   

Bob

0 Likes
song_285461
Level 3
Level 3
First like received

 Thank bob. But I am using microchip cy8c4245axi-483. I am a circuit design engineer. Could you help me build a library card read micro sd 4gb? 

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Sorry, but that might be a little bit too much work. I am not sure whether the PSoC4 is large enough to handle that, especially since you are about to do something more as just to connect an SD-card.

   

There is a library from segger (don't know the price) that is used and licenced for PSoc5s using an SPI interface. I would suggest to search for other solutions using google. search for "chan fat library "

   

 

   

Bob

0 Likes
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

 For PSoC4 it seems there is only one library:
PSoC 4 Pioneer Kit Community Project#050 – SD Card Example 
Read more here:   SPI TFT Color LCD240x320 +SD 
I only have 3 projects for PSoC4:
TFT240_320_SD.zip   
TFT240x320_ECG_Simulator.zip 
and the one that I sent you at mail.

   

0 Likes
song_285461
Level 3
Level 3
First like received

 Thank Bob and pavloven. I have reduced the number of files stored in the memory card. My file is image.raw and it have about 1.2Gb, I save my file in sd card 2G. My file have about 10000 file name, but it generates an error. when I read some file is ok but when I read a few final file name near file 10000. It is not run. Please tell me how to config number file  read in SDcard.c? 

0 Likes
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

 I have not worked with so many files.
You may need help from Kabron message here: http://www.cypress.com/?app=forum&id=4749&rID=91643

   
    quote:   
   
    "The root directory typically contains 512 entries of 32 bytes each.  When using short filenames (DOS 8.3 format ), this means a maximum of 511 files listed"   
   
    ......   
   
        
0 Likes