This function should help you out I think:
It will allow you to set the drive mode of a pin;
Not sure how it will interact with the I2S component however.
2 of 2 people found this helpful
On the 2070x platforms, the i2s lines should already be tristated any time a stream is not active. However, in an A2DP connection for instance, there is a delay between when the audio stops and the stream stop event is received. In this few second gap, the i2s lines will not be tristated, but there will also be no audio.