Hi all i wanted the FX2 to receive a 16 bit address (used to interface with labview)one eg is E012(one of the addressing i need to use), i am using the two registers I2CS and I2DAT. As u all know I2DAT is an 8 bit register as i am oso not sure wheather it is the correct step to write to I2DAT a 16 bit address when I2DAT only holds 8 bit. Or is there any other step, I wanted I2C to to write or read from (in my case labview) Please enlighten me thanks
Are you perhaps not making the distinction between a slave's address on the I2C bus versus a 16-bit address within the slave device? For example a 512 Kbit EEPROM device might have a 0x50 as its 7-bit bus address, but to address the memory within the EEPROM, it takes two bytes of device address following the I2C control byte (slave address plus R/~W bit).