cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

New Contributor II

 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
Reply
6 Replies
Esteemed Contributor II

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
Reply
New Contributor II

 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
Reply
Esteemed Contributor II

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
Reply
Valued Contributor II

 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
Reply
New Contributor II

 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
Reply
Valued Contributor II

 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
Reply