I'm trying to get I2C to work with my Digi Connect ME 9210.
I have this lcd module:
and am using the Digi development board.
I have 10K pullup resistors connected to the SDA and SCL pins of the device (pins #17 and #18). These are connected to the 3.3V which powers the device. Now, is it correct that these pull up resistors should be connected to the 3.3V from the Connect ME device, or should they be connected to 5V that the LCD runs off? I've assumed that it should be 3.3V because 5V would be too high for the Connect ME.
In NET+OS, I am running the NAI2CInit function first to initialise I2C. I set it up in Master mode and normal 100KHz speed. This returns I2C_SUCCESS so I know that it is properly set up.
Next I run the NAI2COperation function with parameters:
NAI2COperation(0xC6, "Hello", &stringLen, NULL, NULL, 100, I2C_HOST_WRITE_ONCE);
This function should write to the LCD, however it returns I2C_FAIL; so the operation failed.
Anyone have any ideas?