User Activity

My SPI gets stuck (waiting for RX register not empy flag, <SPI1->SR & 1> that never arrives). The operation is written with registers, not HAL.BUT! it only gets stuck after a fixed number of successful repeated operations, all the same, inside a loo...