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.

TCAL9539: TCAL9539

Part Number: TCAL9539
Other Parts Discussed in Thread: PCA9539, TCA9539

Hello,

Does TCAL9539 have any sample code for reference?

Thanks.

  • If has the same software interface as other I/O expanders (PCA9539/TCA9539) and can use the same drivers.

  • Hi Eugene,

    We do not provide sample code for our I2C devices. We are generally a hardware support team and provide minimal software support for our I2C portfolio at the moment. We mostly rely on the customer to create most of the software setup, however, please don't hesitate to ask questions about your code here if you do run into problems. 

    As Clemens mentioned, the software interface should be similar to other IO expanders in the previous families TCAL9539 -> TCA9539 -> PCA9539. 

    IF there is sample code online using the IO expanders from the TCA or PCA family, you can expect that sample code to work similar to the TCAL version. 

    Things to look for in the code is to make sure you have the correct device address. Ensure that the code has the same device address as the hardware selectable address pins are set physically on the device. Also note that the TCAL version has a larger register map than the PCA/TCA version. Other than that, it should be pretty straightforward to begin coding if you have I2C drivers installed already. 

    Regards,

    Tyler