Starting with the sdcard_fatfs example in MCUXpresso, and adding the semc driver, I am able to declare an array in SDRAM and write large amounts of data from SDRAM to the SDCARD. Using a SanDisk V30 U3 card, I get 20MB written in 2119ms and 3MB written in 311ms. Is this result within the expected performance? Are there particular parameters I can tune for V30 U3 to improve it?
Thanks,
Doug
Hi @dougcl ,
Thank you so much for your interest in our products and for using our community.
Regarding your question, the entire time include reading data from Sdram, and write to SD card? I think the result within the expected performance.
For SDRAM high performance, I suggest you can refer to this AN
AN12437: i.MX RT Series Performance Optimization – Application Note
For USDHC, I suggest you use the 4 bit mode in stead of 1 bit mode(if you use uSDHC1), and also use DMA to transfer data.
You can also refer to the AN below.
Best Regards
MayLiu