SDCard Unset Alignment Slows Transfer
12-22-2016
08:28 PM
664 Views
leifzars
Contributor IV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
1 Reply
02-13-2017
08:19 PM
518 Views
danielchen
NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Leif Zars
I think it is OK to set the alignment value to 1 , which means no special requirement.
Regards
Daniel