nRF5340 Audio DKs losing sync in external I2S loopback

I am trying to send / receive bi-directional audio between two nRF5340 Audio DKs with an external I2S bus on the gateway DK.  I am modifying the nrf5340_audio example from SDK V2.6.0.

I have added CONFIG_STREAM_BIDIRECTIONAL=y and CONFIG_AUDIO_SOURCE_I2S=y to the gateway and headset apps.  I have also set gpio pin 21 in unicast_client main.c to enable external I2S in the gateway and tied I2S DIN and DOUT together on the gateway external I2S to loop back the audio.  I am sending audio from the headset DK to the gateway DK and looping it back to the headset DK using the external I2S bus on the gateway DK

Audio loops back fine until I try to disable the gateway DKs on-board hardware codec.  When I disable the hardware codec I get loud ticks in the loop-back audio at the headset DK.  I think the audio stream between the two DKs is losing sync.  Since I am not using the gateway on-board hardware codec, I am not sure why this should affect the synchronization of the audio streams.  How can I correct this?

Parents Reply
  • Happy to hear that you were able to resolve it! 

    I'll mark this case as verified and since I'll be out of office for holidays this week I would recommend that you create a new case and refer to this one in case you have any additional follow ups after I leave so that you can get a faster follow up from us! :) 

    Kind regards,
    Andreas

Children
No Data
Related