Would anybody be so kind to send me the sample code for nxp K60DX256VLL10 to communicate with PCA9698 over I2C protocol to turn led on/off for bank 0?
A helpful reference is the Blinky example project offered by the Pack Installer of MDK 5
This is not an example of I2C. I am new to I2C protocol and trying to turn on/off LED connected to bank 0, pin 0. 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?
HASEEB said:Would there be any code whihc I can use as reference for I2C
That would come from the NXP - not ARM or Keil.
https://community.arm.com/developer/tools-software/tools/f/keil-forum/43684/lpc2148-timer0-not-working-as-expected/158950#158950
Have you studied the documentation for the K60DX256VLL10 and the PCA9698 ?
HASEEB said:What would be the sequence of device (slave) address, output configuration register and command register for output?
That would be in the PCA9698 documentation