Page 1 of 1

I2C device_ID

Posted: Sat Jan 29, 2011 7:31 pm
by kkrause
The latest I2C specification says that there are 3 bytes for the Device ID: Manufacturer, part ID, & revision.
The MI2C_send_byte_transaction in Flowcode4 only allows a single byte for this.
Does Flowcode use this byte for something else or in a different way, or am I barking up the wrong tree?

Re: I2C device_ID

Posted: Sun Jan 30, 2011 8:44 am
by Dan81
Hello kkrause

"Transaction" is useful when you want to read or write an EEPROM with 2 byte address (>= 256).

If you want to read the manufacturer byte, you must use a reserved address (see chapter Device ID) and macros : TransmitByte and ReceiveByte.

Daniel

Re: I2C device_ID

Posted: Sun Jan 30, 2011 3:33 pm
by kkrause
Thanks Daniel. I'm actually designing in a GLCD which has an I2C interface. I shall experiment this evening...