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

Status
Not open for further replies.

kdharbert

Well-known member
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?
 
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).
 
Status
Not open for further replies.
Back
Top