Does anyone know if the MSP430FR5994 does send out an "empty" TxBuffer(0x00) in I2C or if it doesn´t because you don´t write anything to it?
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.
Does anyone know if the MSP430FR5994 does send out an "empty" TxBuffer(0x00) in I2C or if it doesn´t because you don´t write anything to it?
If you write the value 0x00 to TXBUF (when TXIFG=1) it will be sent, just like any other byte value.
If you don't write anything to TXBUF (when TXIFG=1) the bus will (in most cases) stall until you do. [Ref UG (SLAU367O) Sec 32.3.5.2.1 and Fig 32-12]
If you write something to TXBUF when TXIFG=0 it will (in general) be lost. The I2C state machine provides TXIFG=1 at appropriate times [Ref Fig 32-12 again]
**Attention** This is a public forum