I am new to I2C protocol and trying to turn LED on/off connected to bank 0, pin 0 in MCUXpresso software by NXP. Would there be any code whihc I can use as reference for I2C or atleast guide me how to configure PCA9698 for turning LED on/off ? What would be the sequence of device (slave) address, output configuration register and command register for output?
Hello
Hope you are well.
Which device are you using to interface the PCA9698?
You can refer to the SDK examples if they are available in the device you are using. You can find the commands and the sequence required at the datasheet of the PCA9698: https://www.nxp.com/docs/en/data-sheet/PCA9698.pdf
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar