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.

PCM1863: PCM1863: In Active mode, I need to correctly know which channel currently has signal input

Part Number: PCM1863

Tool/software:

My question is when I use PCM1863 EVK with PCC2 software
The input signal I want to detect is input by R/L of VIN1
What I do in SLEEP mode is as follows:
1. Write Register 0x70 BIT 1 as 1 >>>Set the mode to SLEEP mode
2. Press "Refresh" on "Register" in the PCC2 operation interface
3. Check that the value of Register 0x32 is "0x03" >> That's right, because there is an input signal and bit0/1 must be 1 in SLEEP mode.
However
In Active mode I operate:
1. Write Register 0x70 BIT 1 as 0>>>Set the mode to Active mode
2. Press "Refresh" on "Register" in the PCC2 operation interface
3. Check that the value of Register 0x32 is "0x00" >> Error because there is an input signal in Active mode, bit0/1 should be 0, and the remaining bits should be 1 because there is no signal input.
So I should read that the value of Register 0x32 is "0xFC"
I also checked that it is not in "automatic clipping suppression mode"

What I want to ask is that in Active mode, I need to correctly know which channel currently has signal input. What should I do? Can you give me detailed steps and suggestions?

Thanks!!

  • Hi Jason,

    In active mode, energysense audio signal detection on any channels other than the primary is not available, so ensure the input pin the signal is present on is routed to the primary ADC and not the secondary.

    But also, ACTIVE mode is essentially signal loss detection and sleep mode is signal detection.  

    I just want to make sure we're working to achieve the intended purpose of energy sense. Let me know if you have any questions or if im misunderstanding your issue

  • I have set the Loss Threshold at -50db
    And on the EVK, after reading the value of 0x32 after 1 minute, you can find that the channel bit with no signal input at this time has been set to "1"

    I wrote the same settings to the PCBA of my project, but I still can't find that the channel bit with no signal input has been set to "1"
    My reading steps are:
    1.PCM1863_I2C_Write(0x00, 1, 0); //Jump to PAGE 0
    2.PCM1863_I2C_Write(0x32, 1, 0XFF);//Reset Register 0x32
    3.PCM1863_I2C_Read(0x32,1,Aux_detect); //Read Register 0x32 but it will always be 0x00.

  • Hi Jason,

    Please ty again using these steps and let me know if this works: