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
So we have Labview -> USB -> EZ-USB -> I2C -> LED Chip.
Assuming Labview sends USB Data to your Micro and that part works. That brings us to the next step:
EZ-USB -> I2C -> LED Chip
What Dat does LAbview leave in the chip? What does the LED chip need? In between those two statements is your code. If it means truncating the address do it. The micro will be the address decoder. LAbview send the control message. The LED performs the correct action. Your Micro is the middle man (translator).