David Lloyd I have been trying to set up I2C communications between two JN5169 MCUs, one configured as slave the other as the master. I have followed the JN-UG-3087 mannual as best as I can understand it, but still have no I2C coms occurring. I have attached I2C files to message, would appreciate any help in where I am going wrong.
Hi David,
I am checking the example code that you provide.
The function is setting 2 DIO pins for output purposes. I am assuming that your device is the Slave, so it should be a 1 input for the Clock.
/* Set IIC DIO lines to outputs */
vAHI_DioSetDirection(0, IIC_MASK);
Is it possible that you could measure the voltage of those pins?
Did you capture the commands with a logic analyzer?
Regards,
Mario