This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AIC3254 Headset Detection

Dear All

I'm trying to use the headset detection feature of the aic3254, but as soon as I turn it on, it results in a high frequency audio signal in the headphone output.
Basically I've a on board mic, biased from external (mic bias available on a 4 pins audio jack), the external bias is conncted to sclk/mfp3 input trough a 2.2K resistor.

Also a 100k resistor pulls down this sclk/mfp3 input.

If I turn on the hadset detection, I ear a high frequency audio signal to the headphones outs !

Here is the way I switch on the headset detection, any suggestion would be greatly appreciated.

###############################################
# Config headset detecttion
###############################################
#
# Select Page 0
w 30 00 00
# sclk/mfp3 is disabled to enable headset detect on mfp3
w 30 38 00
# enable headset detection 16ms debounce headset, 8ms debounce ptt
w 30 43 81
# enable itr INT2 for headset detetction, single 2ms pulse
w 30 31 80
# route INT2 to MISO/MFP4 output
w 30 37 0A

As soon as w 30 43 81 is received by the DSP, I can ear a noise as described above !
Thanks to all

Jerome

  • It seems turning ON the micbias (even if the micbias is provided externally) solved my noise issue !

    But I still have another issue, I cannot succeed in generating an interrupt from headset detection, I configure as follow :

    ###############################################
    # Config headset detecttion
    ###############################################
    #
    # Select Page 0
    w 30 00 00
    # sclk/mfp3 is disabled to enable headset detect on mfp3
    w 30 38 00
    # enable headset detection 16ms debounce headset, 8ms debounce ptt
    w 30 43 81
    # enable itr INT2 for headset detetction, single 2ms pulse
    w 30 31 80
    # route INT2 to MISO/MFP4 output
    w 30 37 0A

    I never observe the expected 2ms pulse on MISO/MPF4 output, any hint ?
    Thanks