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.

TLC5957: Colour configuration of TLC5957

Part Number: TLC5957

Hi

How we will get the color mentioned in the below by configuring by software
Normal state- Green colour -- (0x01)
Alarm state - Red colour -- (0x02)
Fault state - Red colour -- (0x03)
Disable - Blue colour -- (0x04)
Pre- alarm - Orange colour -- (0x05)
Excluded - Purple colour -- (0x06)
Test Mode - Blue colour -- (0x07)
Please clarify how we can we get these colours by software configuration
Thanks and Regards
Abishek V
  • Hi Abishek,

    Could you please provide the schematic of TLC5957 which will help to provide the responsible suggestion?

    Best Regard

    Monet Xu

  • Hi

    I have attached the schematics for TLC5957 below

    .TI_Query_RGB.pdf

    Please clarify how we can configure Red, Green, Blue, Orange, Purple colours for above configurations through software. Note that SPI signals are controlled by MCU

    Thanks and Regards

    Abishek V

  • Hi Abishek,

    For example, this is the RGB LED(OUTR/G/Bx)

    1. choosing BC/CC for your application. the detail value depends on your request brightness. During debug, you can use the default data. You can calculate the target current refer to page 15 in datasheet.
    2. state
      OUTR/G/Bx grayscale value(48-bit)
      Normal state- Green colour -- (0x01) 0000 FFFF 0000
      Alarm state - Red colour -- (0x02) 0000 0000 FFFF
      Fault state - Red colour -- (0x03) 0000 0000 FFFF
      Disable - Blue colour -- (0x04) FFFF 0000 0000
      Pre- alarm - Orange colour -- (0x05) 0000 7FFF FFFF
      Excluded - Purple colour -- (0x06) FFFF FFFF 0000
      Test Mode - Blue colour -- (0x07) FFFF 0000 0000

    Best Regard

    Monet Xu

  • Hi Monet

    Can you let us know the usage of GCLK in TLC5957?

    Thanks

    Abishek V

  • Hi Monet,

    please let us know the usage of GCLK. Also let us know is it possible to blink the RGB LEDs in TLC5957 through Software?

    Kindly consider this as urgent and reply.

    Thanks and Regards

    Abishek V

  • Hi Abishk,

    GCLK is used as the clock of output current. GCLK rising edge increase counter by 1.

    It is possible to blink the RGB LEDs in TLC5957 through Software. There are two ways for reference.

    1. change the value of BC or CC by sending Function Control command. BC controls the brightness of all LEDs and CC_R/G/B controls the same color LEDs.
    2. change GS to zero of LEDs periodically.

    BR

    Monet Xu