TXE flag isn't cleared after a SPI send Posted by jgummaraju on 2016-08-01 19:07 Can anyone help? I added some more debug into hardfault_handler() and found I hit a Bus fault.
Posted by Vavat on 2018-10-24 21:10 TXE (TX empty) is a hardware control register and will always be set as long as you are not transmitting. If you finished sending stuff and have nothing else to send you should disable the interrupt TXIE (TX interrupt enable bit (I think it's in CR1 register).