Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: SD write speed in raw mode - how many audio channels?

  1. #1
    Junior Member
    Join Date
    Oct 2019
    Posts
    11

    SD write speed in raw mode - how many audio channels?

    I need to sample data streams and store the data on an SD card. To keep up, I'm going to store the data raw, which I read is done in 512 byte blocks. Assuming 16 bit samples, this translates to 32 samples per block. I'm not sure to what extent the block write speed can keep up with audio sampled at 44khz. Best case is I can write 32 16 bit channels in each block at 44khgz. This would be fantastic. However, if the write speed can't keep up, I can structure the 512 byte block differently to support fewer 16bit channels written with multiple samples buffered. I'm working with a Teensy 3.6 with a Teensy 4.0 on the way. Any help with calculations?

  2. #2
    I am late with my reply.
    Did you solve your problem and if so, what library did you use?

    I am looking for a solution how to speed up SD data transfer with a Teensy 3.2 (96 MHz) which as slow as an Arduino Mega2560 (16 MHz).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •