Other Parts Discussed in Thread: TCA9534
Dear ,
the customer choose PCA9534, could you kindly help me provide the driver code ?
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.
How to access the I²C bus depends on the microcontroller and the OS. We do not know which one you're using.
The PCA9534 (like many other I/O expanders) is so simple that usually there is no driver. You'd need a driver only if you wanted to use it through a more abstract GPIO framework.
Cooper,
Please also consider the TCA9534, which is a newer version of the PCA9534.
You can find I2C programming guidelines in the data sheet. Section 9.3.2.3 of the PCA9534 data sheet (and Section 8.6.3 of the TCA9534 data sheet) provides register descriptions that you can use in your I2C programming. We do not have drivers to provide since there are very few registers, and the method of implementation varies widely between different applications.
Best,
Danny
Cooper,
Unfortunately we do not have drivers to provide, even for Linux 4.4, for the TCA9534.
Best,
Danny
Linux 4.4 is from January 2016 and no longer supported.
Anyway, even that old version has the gpio-pca953x driver built in.