Dear Devzone-Team,
for my application I am trying to establish a CIS between a gateway and a headset. The gateway is getting an I2S stream input from its header pins. The audio stream is coming from an external device which can only be configured as a master, so I need the gateway to be I2S slave.
I have read in this post and this post that configuring nrf5340 Audio as I2s slave is not recommended, and doing so will mess with drift- and presentation compensation. However, for the application there is no other way but to have the ADK as I2S slave.
As Amanda has pointed out, changes need to be made in audio_i2s.c and audio_datapath.c. I already managed to configure the gateway as I2S slave, but I am struggling in bypassing the compensation mechanisms. I have followed the instructions Amanda has given (diabling drift_comp and pres_comp here), but with no luck.
The issue Max was having is now 5 months old, maybe there have been some updates from your side. I am using NCS version 2.4.2.
Could you elaborate, why the compensation mechanisms have to be avoided in this configuration? Why does disabling I2S clock output for the gateway break the application?
Your help is greatly appreciated.
Kind regards,
Martin