This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I have a problem in getting the Tx FIFO interrupt to work properly.
During init I initialize the TX FIFO level bits, write a one bit to the TXFFINTCLR bit (bit 6) in the I2CFFTX register in order to clear the TXFFINT, but does not enable the TX FIFO interrupt.
After init I have I2CFFTX (reg 0x20) = 0x6082
Then I try to send one byte by putting the byte in the I2C Data Transmit Register, write a one bit to the TXFFINTCLR bit (bit 6) in the I2CFFTX register in order to clear the TXFFINT and
finally enables the TX FIFO interrupt.
After the 'byte-send', the I2CFFTX = 0x61a2, but I don't get an interrupt. Why ?
However when I 'manually' clear the TXFFINT (by writing a one bit to the TXFFINTCLR bit (bit 6) in the I2CFFTX register) the interrupt comes! - Why ?
Regards
Martin Rohde
Martin,
When TXFFINT flag gets set, then it mean your TX FIFO interrupt event is triggered. Then I'm not sure why you use TXFFINT interrupt isn't generated?
Can you please clarify your question? I don't think I understand the question clearly.
Regards,
Manoj
Martin,
I would suggest you to try running i2c_ex1_loopback example code below. I do clearly see I2CFFINT triggering corresponding ePIE interrupt without any problem.
Project: i2c_ex1_loopback
Path: <C2000Ware>\driverlib\f28004x\examples\i2c\
Regards,
Manoj