Shop OBEX P1 Docs P2 Docs Learn Events
Standard for SD Driver interface... We need one! - Page 2 — Parallax Forums

Standard for SD Driver interface... We need one!

2»

Comments

  • lonesocklonesock Posts: 917
    edited 2012-06-21 15:15
    If I may ask, why the interest in the nibble mode? Reconstructing the data loses almost all of the speed gains, and costs more code and pins. IIRC, when I looked at this, if I unrolled all loops I could maybe get a 30% speed boost.

    Jonathan
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-06-22 22:51
    lonesock: As I understand it, the access is considerably faster which is why all the cameras, etc use this mode. Whether this will translate to faster access by the prop I am not sure, but perhaps it is worth investigating. As they say, nothing ventured, nothing gained.
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-06-22 22:54
    BTW: This interface is also relevant to those that wish to place objects and load them from upper EEPROM, not just SD cards. And its relevant to the various languages such as spin, pasm AND C, Basic, Forth, etc, etc.
  • pik33pik33 Posts: 2,397
    edited 2012-06-22 23:33
    lonesock wrote: »
    If I may ask, why the interest in the nibble mode? Reconstructing the data loses almost all of the speed gains, and costs more code and pins. IIRC, when I looked at this, if I unrolled all loops I could maybe get a 30% speed boost.

    Jonathan

    30% may be critical. I am playing with wav files play routines now and it seems my SD card speed is on the border. It cannot play faster than about 50 kHz sample rate. And I had to use 2 buffers 1 kB each, 512 bytes was too short to play without glitches.
  • lonesocklonesock Posts: 917
    edited 2012-06-23 08:27
    Using the faster mode of FSRW, I can get about 2 MB/s continuous raw access, and about 1 MB/s when using the FAT layer.

    For video, or similar, I can see the speed bump helping a bit.

    Jonathan
Sign In or Register to comment.