STM32U599 SPI1 EOT flag not updating
I am using `HAL_SPI_Transmit_IT()` API to transmits 6 frames. The TXP interrupt correctly fires and feeds the TXDR register however after feeding the last frame into TXDR the EOT never fires, actually no interrupt fire after the last frame is feed.
- Frame Size: 9 bits
- FiFo threshold: 1
- All the interrupts that were enabled remain enabled including the EOT. (EIR=0x328)
- TSIZE: 6 (does not change)
- SCLK: 125KHz
- Source CLK to SPI: HSI (16MHz
- Prescaler: 128
- The system clock is running 160MHz
It's worth noting polling mode also failed because EOT isn't being set either.
In other drivers we use HAL_SPI_Receive_DMA() and it works as expected.
I reviewed the STHAL driver but I do not see anything obvious wrong.
What criteria, besides TSIZE, triggers the hardware to set the EOT flag?
