I'm using the nrf52832 and I need to stream audio from an SPI connected memory chip, to an I2S connected amplifier. Is there a way I can have the SPI device stream data directly to the I2S device, without having to manually double buffer it?
I'm using the nrf52832 and I need to stream audio from an SPI connected memory chip, to an I2S connected amplifier. Is there a way I can have the SPI device stream data directly to the I2S device, without having to manually double buffer it?
No there isn't - you'll have to DMA it into memory and DMA it out again.
Thank you for the reply. Is it possible to create an event so that when one DMA transfer completes it triggers another? i.e. as soon as the I2S finishes transferring one buffer, it triggers the SPI DMA routine to fill another buffer?
Thank you for the reply. Is it possible to create an event so that when one DMA transfer completes it triggers another? i.e. as soon as the I2S finishes transferring one buffer, it triggers the SPI DMA routine to fill another buffer?