madmachineio / SwiftIO

A Swift framework for microcontrollers abstraction layer.
https://madmachineio.github.io/SwiftIO/documentation/swiftio
MIT License
182 stars 14 forks source link

I2SOut report write error after music is played for a few seconds #23

Closed Ines333 closed 1 year ago

Ines333 commented 2 years ago

Describe the bug After reading audio data from a wave file stored on an SD card and sending data to the speaker over I2S bus, the speaker plays music for several seconds, then I2SOut reports I2SOut0 write error and the speaker stops to play. The sample rate and depth are set according to the wave file.

Project: speaker.zip