4-bit SD driver

4-bit SD mode SD card driver plug-in for Eric Smith's FlexProp/Flexspin
Share this object
<

Overview

Content

4-bit SD mode SD card driver plug-in to Flexspin's FAT filesystem layer.

Can be used with Spin2, Basic, C and any languages supported by the Flexspin compiler. Propeller 2 only.

Highest performance is typically when the buffer size matches the FAT cluster size. Writes can easily exceed 10 MB/s on fast cards, and reads 20 MB/s. There is also the option of disabling block read CRC processing to allow reads at sysclock/2. Default is sysclock/4.

Requires Flexspin compiler version 7.0.0 or later. The example tester uses the newly added _vfs_open_fat_handle() API, replacing the older preset list of vfs device open functions. The driver uses newly added features for "inline" assembly.
Also requires a 4-bit wired SD slot. Example can be found here - https://forums.parallax.com/discussion/174988/new-sd-mode-p2-accessory-board/p1


Downloads  
Zip archive download

Leave a Reply