MFS library read on SDHC card very slow

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

MFS library read on SDHC card very slow

ソリューションへジャンプ
825件の閲覧回数
MattJCole
Contributor V

 

I am using. KSDK Version: 1.3.0, MFS library (not sure which one): ,Processor: MK65FN2M0xxx18

The read speed from an SDHC card is very slow. For every 1460 bytes read it takes 60 milliseconds. I can not figure out why it is taking so long. I know I am not giving much information I do not know what I am missing. When I looked at the setup of the SD card using the debugger the data width is 4 bits not 1 bit and the baud rate is set to 25 MHz. Is there a setting or settings I need to set to speed up the reading of the SD card.  

 

0 件の賞賛
返信
1 解決策
800件の閲覧回数
MattJCole
Contributor V

When I was using the fread function the parameter "Size of element to be read" was set to one. When use a larger value for "Size of element to be read" the reads are much faster. Know it takes me ~1.5 milliseconds to read 4,380 bytes

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
801件の閲覧回数
MattJCole
Contributor V

When I was using the fread function the parameter "Size of element to be read" was set to one. When use a larger value for "Size of element to be read" the reads are much faster. Know it takes me ~1.5 milliseconds to read 4,380 bytes

0 件の賞賛
返信