I2C
Posted: Sat Sep 20, 2008 4:35 pm
I'm new to netburner and am trying to get the I2C bus to talk to an AtoD chip. Seems fairly straight forward but I get a "Failed to read error: 9" when I try the sample "Mod5270 I2C2Serial" program that came with the board. I am running only one netburner module so I have the "#include "i2cmaster.h" " code uncommented and I just took out the other code relating to multi master mode.
I don't know where these errors are to be found in the documentation. I believe I have the hardware hooked up correctly with the pullup resistors, etc. I had to change the while statement so that my address of 91 Hex was valid.
I don't know where these errors are to be found in the documentation. I believe I have the hardware hooked up correctly with the pullup resistors, etc. I had to change the while statement so that my address of 91 Hex was valid.