You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I and using TLV320_Audio_Playback_Arduino example and it works but unfortunately it seems to only send one byte at a time to i2s interface in a loop and it blocks the whole code till audio finishes playing.
I tried removing the for look and sending entire buffer but .write seems like it can handle it and it still blocks code.
It would be very helpful if someone could update this example with non-blocking code where pointer to array can be passed with length so DMA can do the magic instead of cpu getting over loaded and/or blocked...
Maybe the i2s library being used is a poor implementation and we need to use a different one?