Hi, I can't figure out why I my chip does not detect a headset.
I'm already trying things at the lowest complexity:
There is a 2k2 resistor between MICBIAS and VOL/MICDET.
And I would expect an INT1 to be raised when I touch VOL/MICDET to GND.
But no INT1 is raised, and when I read Page 0 register 44, it is always 0.
This is my code: All other values are in the state they are after a reset.
tlv320_write_reg(0, 0); // select page 0 for the following register operations
tlv320_write_reg(67, 0b10000000); // enable headset detection at all
tlv320_write_reg(51, 0b00010100); // GPIO1 output = INT1 output
tlv320_write_reg(48, 0b10000000); // raise INT1 on headphone detection
All supply voltages are 3.3V
Voltage at VOL/MICDET is 1.92V
What am I doing wrong?