SDCard Unset Alignment Slows Transfer

cancel
Showing results for 
Search instead for 
Did you mean: 

SDCard Unset Alignment Slows Transfer

265 Views
leifzars
Contributor IV

The spi sdcard driver does not set the sdcard_struct alignment variable. It has a value of zero.

This prevents MFS from direct writing the applications buffer, incurring a an additional memcpy. 

Can we not know the alignment, or maybe default it to 1 instead of zero?

Tags (4)
0 Kudos
1 Reply

119 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Leif Zars

I think it is OK to set the alignment value to 1 , which means no special requirement.

Regards

Daniel

0 Kudos