I would like to use the jack detection function with an ADAU1361. I have setup the audio output from the serial I2S interface of the codec to line output LOUTP and ROUTP (pins 18 and 15). This works fine, i.e. an audio signal is present at the line outputs.
However, when I than change register R2 (Digital Microphone/Jack Detection Control) from 0x00 to 0x10 (or 0x11) and toggle the signal JACKDET/MICIN between low and high, these toggles remain without effect to the line outputs.
How do I correctly setup the jack detection function?
Is there any way to read the state of the JACKDET/MICIN pin into the host processor?
What effect has the setting of the pin drive strength in register R42 (Jack Detect Pin Control)? As the JACKDET/MICIN pin is always an input, a drive strength for this pin does not sound meaningful to me.