Previously, when starting the SAI (and its ring buffer + DMA channel), then writing data to the ring buffer later, the SAI DMA has already been running for some (undeterministic) amount of time. It only makes sense to start the DMA after there is already data in the transmit ring buffer present.
This PR disables start for SAI in transmit mode, and starts the DMA just after the transmit ring buffer was filled with an initial amount of data.
Previously, when starting the SAI (and its ring buffer + DMA channel), then writing data to the ring buffer later, the SAI DMA has already been running for some (undeterministic) amount of time. It only makes sense to start the DMA after there is already data in the transmit ring buffer present.
This PR disables
start
for SAI in transmit mode, and starts the DMA just after the transmit ring buffer was filled with an initial amount of data.