Hi guys,
I came here to beg for help due to my ignorance on this topic.
I am aware that out there are a thousand millon post with those words "DUE" and "I2C" + (not working). However, (thousand millon - 1) get you nowhere and the one left is so confusing that even who wrote it, does not understand what is on it.
facts: I'm working on a AUV. As you can imagine the maths, the number of sensors, and the complexity involved in this project, require an enourmous computing power that my old friends (Arduino Uno/Mega/Nano) can not provide, unfourtunately!!
I tested every sensor (BNO055, SAM-M8Q) separately on my Nano, getting to the point where everything worked as I need. Next step, naturally, was to get a CPU powerful enough to deal with the entire system at once, so I bought a super well recommended Arduino DUE.
As you can guess at this instance, I CAN NOT READ ANYTHING CONNECTED BY I2C ON MY DUE.
I tried first with my Melopero SAM-M8Q to request info and.. Nothing, it says there is nothing connected to the wires... I ran the I2C_Scanner, and here is what gave me the last punch, it claims there is something connected with 0x42 address. Nonetheless, I cant read any sensor because, from their perspective, there is nothing out there.
- 10K pullups in I2C (pins 20 and 21) or I2C_1 - Did not work
- Some people claim that removing the resistors of I2C (pins 20 and 21). I have not gor to the point where I want to perform a surgery in my brand new Arduino Due, nevertheless if someone says it works, I'd do it.
- Others argue that because, and it is true, in the Arduino folder there is not such a thing as ARM Architecture, Wire.h was not designed for somthing different than AVR.
- A few said that because of the 3.3V of Due..... But, SAM-M8Q also runs on 3.3. Furthermore, it has its on pullup resistors (10k).
So my commarades, has anyone ever fixed this communication problem on Arduino Due? And if so, could you please ,contemporaneous Einstein of computer sience, tell me how?
I am currently utterly frustrated with the big borther of Arduino.
Thanks a lot,
Martin.