I am new to F28069 and I2C, and am trying to configure the I2C to be a slave only device. After I set I2caRegs.I2CIER.bit.RRDY = 1, I have no problem getting an interrupt as well as the data from I2CDDR when the master writes one byte data to the slave. However, when I set to use FIFO: I2caRegs.I2CFFRX.all = 0x2040, and set I2caRegs.I2CIER.bit.RRDY = 0, I am getting NO interrupt at all when the master writes to the slave (interrupt service routing is not executed at all). However, the status from I2CFFRX indicated that RXFFINT = 1, and RXFFST is counting up if the master does more writes. Did I do something wrong? What settings should correctly have in I2caRegs.I2CIER.all and I2caRegs.I2CFFRX.all for a slave-transmitter device using FIFO to get interrupt? I would appreciate it if someone could give the help.
Thanks,
Yinhao