i want to initlize IIC register so i can write byte to AT24C08 eeprom .could you give me example and guide me?
thanks in advance
Hi,
you can refer to https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-TRK-MPC5606B-I2C-communication-with-PCA2...
Petr
do i need to set I2C register IBIF?.
IBSR.B.IBIF=1;
i mean when i send one byte,do I need to set the register IBIF to 1 and continue my transmission ?
thanks in advance
Hi,
It is recommended that transfer complete situations are detected using the IBIF flag. So once set it have to be cleared so you can detect setting again. Clearing is done by writing 1 to the bit.
BR, Petr