TCA6416A: Flash LED (1s on / 1s off) in U-Boot 2023

Part Number: TCA6416A

Tool/software:

Hi All,

We are currently using TCA6416A for led control. I can able to achieve solid white LED behavior with below configuration. 

End User Requirement in U-Boot Level,

1. During Boot up - ORANGE LED 1 Sec ON / 1 Sec OFF

2. During Image Upgrade - BLUE LED 1 Sec ON / 1 Sec OFF 


Question : 

1. Whether Instant Blinking is achievable in TCA6416A (Automatic On / Off for 1 Sec time interval)

2. If Automatic On / Off for 1 Sec time interval is possible to achieve, Kindly share us the register configuration for validation purpose.

  • Hi Avinash,


    1. Whether Instant Blinking is achievable in TCA6416A (Automatic On / Off for 1 Sec time interval)
    2. If Automatic On / Off for 1 Sec time interval is possible to achieve, Kindly share us the register configuration for validation purpose.

    I2C bus can run at 400kHz for this device. Toggling an output that connects to an LED can be programmed by the MCU in 1 second intervals. This 1 second interval is slow enough. 

    If you are talking about doing this during the bootup process, TCA6416A does not have any memory. Upon a power cycle, the TCA6416A will reset to its default register conditions which means all IO's will be INPUTs. 

    Regards,

    Tyler

  • Hi  ,

    we are trying to achieve LED blink from U-Boot for 1 Sec On / Off time interval (Automatically). Once after configuring the register the controller can able to flash the LED based on the timing configure.

    In TCA6416A  I see only the bellow list of register where we can configure it to Either On / Off. 

      

  • Hi Avinash,

    we are trying to achieve LED blink from U-Boot for 1 Sec On / Off time interval (Automatically). Once after configuring the register the controller can able to flash the LED based on the timing configure.

    The "automatic" capability is not possible. Each second, you would need to write I2C commands to change LED state. 

    TCA6507 might be your device since this LED driver can be configured to pulse LED's in a specific way through registers 0x00 - 0x08. 

    Regards,

    Tyler