Go Down

Topic: I2C Issues (Read 1 time) previous topic - next topic

schmidtbag

I'm sorry if this has been asked before but after a couple hours of searches I haven't found any useful answers.

Anyway, I own an UDOO, which is half Arduino Due and half an i.MX6 armhf platform.  Most things seem to work just fine on it, but one that explicitly doesn't work is I2C.

I can load the library, I can set up an I2C device (such as an accelerometer), I can read data from it, and I can assign that data to variables.  But that's as much as I can do.  If I do anything else, such as analogWrite or Serial.println, the code freezes.  That being said, I don't even know if its actually reading the accel properly because I have no way of representing the data.

The code works fine on an Arduino Mega 1280, as well as the same accelerometer.

I read that apparently the Due has had issues in the past with I2C, but I'm not exactly sure how or why, and I'm not sure if the problems have been resolved since.

Go Up