Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem in reading/writing micro SD card through MPC5554 using SPI clock above 3 MHz

Status
Not open for further replies.

sanaas

Newbie level 1
Joined
Feb 3, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
Hi everybody,

I have interfaced a 4 GB class 4 Kingston micro SD card with MPC5554 using SPI. I have implemented FAT32 file system driver on it.
Everything(reading/writing files) works fine when I keep SPI clock at 3 MHz after initialization. With 3 MHz clock I am able to write 1 MB of data in a file in 1 min which is pretty low speed!!
But when I turn to SPI clock above 3 MHz, the SD card does not read/write sectors at all!! All I want to do is to increase this speed of data transfer.
Has any body done such a thing with speed higher than 3 MHz? I would be so grateful if any body could help me in this issue as I have been trying to solve this issue since last so many days but in vain and my FAT32 driver would be of no use in my application with such a low speed.

Thanks,
Sana
 

Hello,

Can you please post the code for DSPI? The implementation should use DMA transfer. I do not understand to where do you intenend to copy files.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top