Related hardware:
- VS1053 Codec + MicroSD Breakout - MP3/WAV/MIDI/OGG Play + Record - v4
- Adafruit Feather M0 with RFM95 LoRa Radio
- record voice in ogg format using VS1053; controlled by feather M0.
- clear audio recorded and stored in SD card (supported by the VS1053 shield)
- the plugin for the VS1053 to record in an ogg format takes 4 seconds to load from the SD card to the VS1053 RAM.
- Context in picture below: A simple micro() is placed before and after the PrepareRecordOgg() function
spiwrite() takes 37us to write a byte (measured using the micro() timer). I think this is much too slow for SPI. Or am I wrong and this is normal?
What are some strategies to reduce the 4 second load-time for the plugin?
Thank you,
Ray