Can we use I2S and USB both for audio out?

Hi 

we need to connect nrf audio to two different module( 1 LTE, 2 PI ), so we are planning to use USB audio to PI (Linux) module and I2s audio to Lte module.

our question is does NRF5340 can use as a bridge in following cases.

case 1. 

- nrf should receive audio from LTE module the same data need to transfer to Pi module, and vice versa.

Case 2

- nrf should receive audio from LTE module the same data need to transfer by BLE, an vice versa.

Case 3.

- nrf should receive audio from Pi module the same data need to transfer by BLE, an vice versa.

Thanks 

Puneeth

Parents
  • Hello,

    I think your main problem will be if you are able to control which of the audio interface is a (audio) master and (audio) slave at any given time. Only one of the interfaces can be a (audio) master at any given time, the other interace must be a (audio) slave, else you will experience clock drift between the interfaces which will cause audio overrun or audio underrun in the buffers, and you will not have resources to compensate for this in the nRF5340, so it will cause audio glitches if you have two (audio) masters at the same time.

    Kenneth

  • Hi Kenneth 

    Thanks for your response!!

    If nRF support 1 Host and 1 slave means we can use in the following way

    1. IK nRF USB audio act as slave so we can connector our Linux module it will be a master.

    2. out LTE module i2s can be used as slave only so, nRF i2s can be used as a master.

    does this configuration will work?

    Puneeth

Reply Children
Related