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.

TCA6507: TCA6507 application discussion

Part Number: TCA6507

Dear sir,

Customer designed TCA6507 and there are some questions related to I2C setting:

1. Can I blink one port individually? 

2. Can I control intensity to one port individually?

3. Could you provide the coding guide?

Many thanks.

Andy Lin

  • Hi Andy,

    1. Each port can be individually set as off (high impedance), on (at set a specified brightness), or set to follow one of the configured blink patterns. This can be done by writing to the Select Registers (0x00 - 0x02).

    2. Each port can be individually set to a maximum intensity of PWM0, PWM1, master intensity, or fully on. Configurations and corresponding register values for these settings can be found in Table 8 of the datasheet.

    3. Programming information is available in section 8.5 on the datasheet. Would you like more information on I2C communication or what register configurations you require for your desired LED functions?

    Regards,
    Eric

  • Dear Eric:

    For Example, We can set the fade-on time as below two table.

    We want to know that all the bit like C7 or C6 can be set to 0~F individually? Or all the IO in the same bank only can be set to the same value. Thanks.

     



  • Hi Andy,

    I'm not sure if I fully understand your question. Individual port control will be done on the Select0 through Select2 registers (0x00 - 0x02). Using these three registers, you may select a specific port to use the Fade-ON parameters of BANK1 for example. Other registers do not control individual ports, but rather a BANK of configurations that the ports can be set to. 

    For example, if Fade-ON register is set to 0x0000 0100, BANK0 is configured for instant-on (0ms fade on) and BANK1 is configured for 256ms fade on. Then, if Select registers 2-0 are set to the following:

    Select2: 0x0000 0011

    Select1: 0x0000 0011

    Select0: 0x0000 0010

    Port 0 (using bit 0) will be configured to blink with intensity characteristics of BANK0 (instant-on). 

    Port 1 (using bit 1) will be configured to blink with intensity characteristics of BANK1 (256ms fade-on). 

    All other LEDs will be off.

    Select configurations can be found from Table 8 on the datasheet:

    I hope this helps. Let me know if you have any more questions.

    Regards,

    Eric