trying ping pong buffers. code here ;
TXlooks more promising than RX
https://github.com/benbiles/UHF-digital-wireless-microphone
maybe I need to have multiple pingpong buffers on the RX ?
if packet ready get packet
ping pong buffer
demodulate from ADPCM
16bit array to 32bit array 240 samples for I2S
( load 2nd ping pong buffer ? here )
I2S inturrupt outputs 2nd pingpong buffer 1 sample at a time until empty ?
...
how should the timing work?
should i timestamp / number the packets , packet order ?
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.