Reliable Audio ADC Timer-ing
Posted: Thu Mar 26, 2015 3:25 pm
So, I've looked this over time and time again for a few months now, and it's good to see people in various threads have been making headway with this. I've seen references to people being able to execute various versions of adc_read at pretty high speeds (20kHz, etc.) along with a few versions that talk to the read_sar_dout, function itself. I profiled this one to be ~25kHz https://github.com/mattcallow/esp8266-s ... tch/driver
This is fine and all, but I was wondering if anyone has yet figured out how to have a particularly low-latency high speed interrupt. Say I want to record at 11025 (or close to it). I can't seem to find any way of hooking an interrupt to execute at that period. Any ideas on how one would go about doing this? I would need it to override the Wifi RX interrupt and be able to interrupt the idle loop, etc.
I am actually trying to make an embedded version of my ColorChord system. The ESP8266 is a wonderful choice from my perspective... Just not sure how to get the whole get-audio-into-the-chip thing.
Also, I am trying as absolutely as hard as I can to avoid having to use an external ADC.
This is fine and all, but I was wondering if anyone has yet figured out how to have a particularly low-latency high speed interrupt. Say I want to record at 11025 (or close to it). I can't seem to find any way of hooking an interrupt to execute at that period. Any ideas on how one would go about doing this? I would need it to override the Wifi RX interrupt and be able to interrupt the idle loop, etc.
I am actually trying to make an embedded version of my ColorChord system. The ESP8266 is a wonderful choice from my perspective... Just not sure how to get the whole get-audio-into-the-chip thing.
Also, I am trying as absolutely as hard as I can to avoid having to use an external ADC.