STM32U5 Interrupt driven SPI transmit.
HAL code for interrupt-driven SPI transmit attempts to fill a transmit queue, which uses up the 10 bytes I am transmitting. But, a TX interrupt is also triggered which grabs an extra byte past the end of the buffer and decrements the count which wraps. There is code to turn off TX interrupts in the handler, but it checks after transmitting a byte rather than before.
Has anyone else noticed this?
