MQX 4.2, Sd card Read Speed

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX 4.2, Sd card Read Speed

1,573件の閲覧回数
aftab_s81
Contributor I

Hello,

We are using MQX 4.2, on a MCF52254 based custom made board.

We are trying to read data from sd card. This is audio data so we require real time performance. The data is read through following command:

bytesRead = read(mfs_fp, buffer, MP3_READ_SIZE);

We have observed that it takes a minimum of 11ms to read a data chunk of 2048 bytes, i.e, ~186kB/s of data read rate. We are measuring the time thru _time_get commands. We think that, this is way too slow. Is there a way to improve it?

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,346件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Aftad:

We have data for eSDHC speed on K70, unfortunately we don't have data on MCF52254,

Please refer to below picture for Maximum MFS Speeds over eSDHC on K70.

pastedImage_1.png

The performance can be increase by using multiple w/r blocks. But just to let you know that the performance depends on SD you are using, if you try with other SD, the performance maybe vary.


Have a great day,
Daniel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct or helpful button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,346件の閲覧回数
aftab_s81
Contributor I

Do you think 186kB/s data read from any sd card is realistic with

MCF52254 MCU? I'm using MQX 4.2.

0 件の賞賛
返信