David Lloyd I have been trying to set up I2C communications

cancel
Showing results for 
Search instead for 
Did you mean: 

David Lloyd I have been trying to set up I2C communications

169 Views
davidatworkandp
Contributor I

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.

Tags (1)
0 Kudos
1 Reply

102 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

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