I have been trying to get a arduino UNO and arduino Leonardo to communicate with the nRF9160DK but have not been able. That accounts for the SPI example aswell as the I2C/TWI scanner example in both cases the Arduino's are used as Slave. I am quite new to this but unable to figure out why this all is not working. I have put my eyes on useing I2C because of mutible reasons so that is where this question will be about.
I am running the following slave example on the Arduino UNO
As you can see I have added a maximum Clock speed of 100K since that is what the nRF9160 scanner also uses.
I have changed the config of the nRF9160 to be like this:
And have wired the arduino -> nrf9160dk the following
A4 -> P0.31
A5 -> P.0.30
I have changed the pinouts from the normal one since on the normal basic pinouts it wasnt working either. Once both are running I dont recieve anything execpt the following:
I would love the recieve some help on why I can't seem to get the nRF9160dk working with my arduino's.