BME280 on a SAM3X board (arduino 2)

Hi all,
i’m in troubles with BME280 and RADDS (and its Arduino DUE board).
I have the i2c on board connected directly to the SAM pins.

I made some tests but i’m unable to make it works with klipper
i receive this error:
MCU ‘mcu’ shutdown: I2C NACK error encountered!

in config.cfg i put these lines:

[temperature_sensor my_sensor]
sensor_type: BME280
i2c_address: 118

i didn’t declare i2c_bus and i2c_mcu because i would like to use the mcu’s one so if i understood correctly they are setted by default.

sensor works and address is correct, i tested it with another arduino.

Any suggestions?

I solved by myself.

[temperature_sensor my_sensor]
sensor_type: BME280
i2c_address: 118
i2c_mcu: mcu
i2c_bus: twi1
2 Likes