David Lloyd I have been trying to set up I2C communications

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

David Lloyd I have been trying to set up I2C communications

1,003件の閲覧回数
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.

タグ(1)
0 件の賞賛
返信
1 返信

936件の閲覧回数
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