SD card interface with SPI

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

cross mob
Anonymous
Not applicable

 I have encounterd problem in SD card interfacing with SPI. Initialisation can not be done. EVen SCLK is not generating. Plz giv me some sugetns about what would be the problem.

0 Likes
9 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Also consider posting your project,

   

 

   

"Project"

   

"Archive Workspace/Project"

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

And there is the emFile component in Creator -

   

 

   

Features
  Up to four Secure Digital (SD) cards in SPI mode
  FAT12/16 or FAT32 format
  Optional integration with an Operating System (OS)
  Optional Long File Name (LFN) handling

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

File -> Open -> Find Example Project -> Search for emFile -> emFile_Example.

   

Use this example project.

0 Likes
Anonymous
Not applicable

My controller is ES2 type.So the new Emfile is not compactiple for that. Iam using micro SDHC card. For it any difference in initialisation by SPI??

0 Likes
Anonymous
Not applicable

 Why don't u get a new Production release sample and do it?

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

When you bought a development kit with an ES2 silicon on it you may change your product to an actual one. There is an exchange program by Cypress handeling that, have a look here http://www.cypress.com/?app=kitupgrade 

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Please post SPI And Uart code for RTC.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

If you do this from Creator menu -

   

 

   

File -> Open -> Find Example Project -> Search for "emFile" -> emFile_Example

   

 

   

OR you start an empty project, then place a UART and a RTC module, right click the

   

modules one at a time (after de-selecting/un-hightlighting them), from that menu pick

   

"Find Example Project", and you have a choice to add them to the existing project or

   

open them in a new project.

   

 

   

Regards, Dana.

0 Likes