esdhc slow write speed with SD card

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

esdhc slow write speed with SD card

926 次查看
jlevie
Contributor I

Hello -

I have a design using a K60F120 part and an SD card with the esdhc driver.

The driver is configured for a 50 Mhz clock to the sd card, and 4 bit SPI mode. The OS was just updated to to MQX4.2, and MFS is used for the filesystem on the SD card.

I am seeing very slow write speeds to the SD card. FTP writes are roughly 400KBytes/Sec. The MFS swt test utility, when benchmarked with a hardware based millisecond counter I have in the design takes about 32 milliseconds to write each of its 10K files, with performance best at the 512 Byte size.

Has anyone seen similar speeds, and is there a way to speed things up?

标签 (1)
0 项奖励
回复
2 回复数

622 次查看
soledad
NXP Employee
NXP Employee

Hello Jeff,

Are you using a freescale board?

Did you test using a sample code?

Could you please try using the SDCARD example, it is located at the path: C:\Freescale\Freescale_MQX_4_2\mfs\examples\sdcard

Regards

Sol

0 项奖励
回复

622 次查看
bonzo
NXP Employee
NXP Employee

Have you confirmed that the clock is running at 50MHz?

What type of card are you using?

Also, it could be task or interrupt priority issue.  See this post SDHC Interrupt

0 项奖励
回复