This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52840 with Arduino over I2C

Hello,

We are trying to set up communication between nrf52840 and Arduino UNO over I2C.

The challenge is we don't know the slave address of the Arduino.

Anyone else has worked on this before please guide.

Thanks

Parents
  • Hello,

    As @Dmitry says - is your Arduino device configured as an TWI Slave device?
    Furthermore, could you attempt to run the unmodified TWI Scanner example from the SDK while you are connected to your Arduino, and see if it is discoverable on the TWI bus?
    As described in the example documentation, the nRF will output the results of the TWI bus scan to the terminal, where your Arduino device then should show up - if it is connected correctly and configured as a TWI slave.

    Looking forward to resolving this issue together.

    Best regards,
    Karl

Reply
  • Hello,

    As @Dmitry says - is your Arduino device configured as an TWI Slave device?
    Furthermore, could you attempt to run the unmodified TWI Scanner example from the SDK while you are connected to your Arduino, and see if it is discoverable on the TWI bus?
    As described in the example documentation, the nRF will output the results of the TWI bus scan to the terminal, where your Arduino device then should show up - if it is connected correctly and configured as a TWI slave.

    Looking forward to resolving this issue together.

    Best regards,
    Karl

Children
No Data
Related