Other Parts Discussed in Thread: PCA9535, C2000WARE
Hello,
I want to communicate with the PCA9535 GPIO expander using an F280049C microcontroller.
The PCA9535 uses I2C communication, and the I2C examples that are available in the TI resource explorer do not provide enough information to get me started.
For reference, I already have the PCA9535 working with an Arduino setup, so I know all of the technicals on the PCA9535 side.
I mostly need help with performing I2C writes, I2C reads, initializing and setting up the I2C bus, including the "Wire.h" library (if there is one or something equivalent in CCS), and anything else that is necessary to use I2C communication.
I have attached a copy of my validated Arduino code for reference (I am basically trying to recreate this in Code Composer Studio).
I am really looking for a "getting started" guide to I2C in code composer studio.