Hi,
I'm working on one of our boards that uses the TLV320AIC3120 CODEC.
In general it is working correctly and I can change register values etc and the results are expected.
However when it comes to headset detection I cannot seem to get this to work. I set register 67 with { 0x43U, 0x80U } to enable the headset detection in the initialisation of the TLV320AIC3120.
Then later when the everything is up and running and I plug in a headset I read tlv320_get_param(0x43U, ®_val); and it returns 0x80U which suggest no headset detected. I also read registers 0x2CU and 0x2EU and they come back with 0x00U. I can unplug & re-plug in the headset etc but nothing changes in the registers.
The circuit is the same a seen on the development board with the appropriate jumpers in place.
Anyone have any ideas or example code?