I have a nRF9160DK board running tagoio_http_post. I am trying to use the I2C1 port. I have attached the overlay file I use to set I2C1 to P0.30 and P0.31. I have also attached prj.conf file.
I have a simple I2C test setup that I have added below. The result when I run the program is an error (-5) as shown below. can you tell me what I am doing wrong and how I get the I2C1 command to work? I am sure it is something simple I am missing. I appreciate any help you can give.
******************************
*** I2C Init ***
I2CI2C device is ready
I2C config passed
I2C 0xFC 0x00 -5
[00:00:00.754,333] <err> i2c_nrfx_twim: Error on I2C line occurred for message 0
[00:00:01.254,516] <err> i2c_nrfx_twim: Error on I2C line occurred for message 0