I have two nrf5340 audio DKs running bidirectional audio over Bluetooth. Software is modified Audio example from SDK 2.7.0. I am trying to run external i2s in the unicast client gateway. I want to run the i2s port as a slave. The problem I have is the gateway nrf5340 audio DK is pulling the i2s bit and frame clocks to ground unless there is a Bluetooth audio connection running between the headset and gateway DKs. If the i2s port is configured as a slave these pins should be inputs.
I can stop the DK from loading the bit and frame clocks after dropping my Bluetooth connection by remarking out the “nrfx_i2s_stop(&i2s_inst);” command in the audio_i2s_stop routine in audio_i2s.c. However, the clock lines are loaded on power up until I make my first Bluetooth connection.
I am missing something in the i2s slave setup. Can you help?