cancel
Showing results for 
Search instead for 
Did you mean: 

For I2C master transmission, what is the difference between TXIS interrupt and TXE interrupt?

FWu1
Associate

The I2C ISR register has both TXIS and TXE bit. They are both set when TXDR is empty, and cleared when new data written to TXDR. What is the difference between this 2? Is there any reason I should be using one of them but not the other for master transmission?

1 REPLY 1

STM32 covers hundreds of parts over dozens of families, please be specific.

I think TXIS is one that actually generates an interrupt, so perhaps a latched or gated version of TXE

Review source code examples including libraries to get a feel for use/application.

For commercial projects contact your local sales/support office and discuss with an FAE.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..