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.

AFE4404: Change LED lighting sequence

Part Number: AFE4404

Hi,

From the AFE4404 datasheet, the sequence for 3-LED mode is LED2 → LED3 → LED1 → Ambient.

And now I'd like have the sequence (LED2 → LED1 → LED3 → Ambient) with my custom board based on AFE4404.

Then I have modified the corresponding timing signal (LED1<->LED3)

But I found the signal is not what I want, the LED1VAL in register 2Ch seems to still be the 3rd lighting one.

So I just wonder what is the x in LEDx described in datasheet?

The order for lighting LED or the wiring to TXx pin?

Regards

Gary

  • Hi Gary,

    If you are interested in swapping the LED ON signals, then you can interchange only the registers for LED ON and still keep the same sequence for sampling as well as convert.

    From your description, it looks like you have swapped the timing registers even for sampling and convert.

    x in LEDx is tied with TXx pin, so LED2 will sink current from TX2 pin.

    Regards,

    Prabin

  • Hi Prabin,

    Yes, I was trying to interchange the LED ON, sampling and convert registers for those two channels.

    And this time I have swapped the LED ON registers only, however still getting the wrong result.....

    Is there anything else need to be concerned?

    BRs

    Gary