I'm trying to use the CC3235 as an I2C slave and fill up my TX FIFO (attached to the slave module) with 4 bytes (0x1,0x2,0x3,0x4).
Proceedure:
- disable the TX FIFO EMPTY IRQ,
- Flush the TX FIFO,
- clear the IRQ
- fill up the TX FIFO with 4 bytes
- enable TX FIFO EMPTY IRQ
- signal to master (GPIO) that I have bytes to send (readout from CC3235 on I2c).
On logic analyzer I see that bytes 0x1,0x2,0x3,0x4 are shifted out and 0x4 is "NACK"-ed.
Afterwards. I see no interrupts whatsoever.
I2CSRIS shows 0x00000027 -> TXRIS | STOPRIS | STARTRIS | DATARIS
FIFOSTATUS shows 0x00010005 -> TXBLWTRIG | TXFE
Any idea how that could happen that FIFOSTATUS shows TxFifoEmpty but I have no I2CSRIS TFFEIC? (Note that I do not clear anywhere else this flag, neither I get an interrupt).