Part Number: MSPM0G3507
Q1. Is my understanding right about TX FIFO Trigger?
TXFIFOTRG occured when TXFIFO is empty because it meets the condition "transmit FIFO contains <= defined bytes", I think.
Q2. I found that after executing the following functions, TXFIFOTRG is occured in RIS Register (Offset = 1030h). Is this the desired behavior?
(1) DL_I2C_enableTarget
(2) NVIC_EnableIRQ
(3) DL_I2C_flushTargetTXFIFO
The conditions related to I2C peripheral are as below.
Frequency = 100kHz, TX FIFO Trigger Level = 1byte, No masked for interrupt status.
(1) and (2): At initialization of I2C function, there is no I2C communication, or TXFIFO is empty.
(3): After TX FIFO is flushed, TXFIFO is empty.
Q3. Should I mask the interrupt status not to occure TX FIFO Trigger?