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.

TCA6424A: How to do register configuration

Part Number: TCA6424A

Hi

1. The SDK code of the corresponding development board of TCA6424A is a single-chip platform, and there is no driver under Linux;
2, on the TCA6424A register configuration, I see this .h file has more than a dozen, but c file only write a few lines, can provide the detailed configuration process of the register and why this configuration,

If we want to achieve a certain function, you need to pay attention to Where?

Linux platform with Qualcomm processor, compiled on Linux server

thank you

BRs

Elsa Duan

  • Hi Elsa,

    You can see the details of how to program the TCA6424A in Section 8.4 of its datasheet.  You would initiate a transaction with a "start" condition followed by a write command to the corresponding address specifying a "command byte" (basically an internal register address - see Table 4 in the datasheet for a listing).  Then, for a "write" operation you could continue with another byte transfer immediately after the command byte.  For a "read" operation, you would re-specify the slave address with a new transaction with R/W bit set to 1.  Please let me know if this still isn't clear after reviewing this section of the datasheet.

    Regards,
    Max