Hi, I was intending to use the audio shield for DAC and ADC functionality in a commercial project where I plug the Teensy3.6 into a custom PCB; I will probably still do this for the experience. However, I just found out the customers' (non-audio) signals I must digitize are 660 kHz bandwidth. I'm at a quandary which path to go. I liked the idea of just using the extensive audio.h code to handle data capture/playback and to feed it through USB to a PC host, since it seemed like the audio.h software was very thorough.
Can I still use this audio.h functionality to interface with 12-bit DACs and ADCs at 1.5 MHz sample rate, or are there likely internal limitations and/or bugs since the code is only tested at <192kHz?
If I don't use audio.h, is there some other library that can manage the DMA between Teensy and my DAC and ADC chips? It seems likely that if I try to hard-code byte-by-byte using the SPI library, I will get missed samples and/or an uneven sample clock.
Many thanks in advance for any library or sources/tutorials you can point me towards.
Best Regards,
Phil
Can I still use this audio.h functionality to interface with 12-bit DACs and ADCs at 1.5 MHz sample rate, or are there likely internal limitations and/or bugs since the code is only tested at <192kHz?
If I don't use audio.h, is there some other library that can manage the DMA between Teensy and my DAC and ADC chips? It seems likely that if I try to hard-code byte-by-byte using the SPI library, I will get missed samples and/or an uneven sample clock.
Many thanks in advance for any library or sources/tutorials you can point me towards.
Best Regards,
Phil