-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a library for the PCA9554 io_expander? (BSP-507) #335
Comments
Hi @karunt, I have reviewed the datasheets for both the PCA9554 and TCA9554. They share the same I2C address and command bytes. So, I think you can use the TCA9554 library directly to control the PCA9544. And please notice the hardware decides the actual I2C address. |
@Lzw655 Thanks. What about the difference in supply voltage range between the 2 expanders? Does that have to be modified somewhere in the TCA9554 library so it doesn't create any issues for the PCA9554 expander? |
Sorry, I don't know much about hardware, but I believe there is no need to modify the software side, as both chips do not have any voltage-setting registers. |
@karunt Is there anything else? Or can we close this issue? |
Found a library for the TCA9554 io_expander, but is there also one for the PCA9554 expander? Using it on an Adafruit Qualia board with ESP32-S3 to connect a 40 pin LCD display. The SPI interface for the LCD display is connected to the PCA9554 expander. But I'm unable to find a library for the PCA9554 expander. So my question is if I can use the TCA9554 library instead. If yes, any modifications I need to make? From what I understand, and my understanding is basic at best, the only difference between the two io_expanders is the minimum supply voltatge setting (1.65 for the TCA9554 and 2.3 for the PCA9554). If that has to be changed somewhere in the TCA9554 library to be able to use it for the PCA9554 expander, where should that be changed?
The text was updated successfully, but these errors were encountered: