Repair a verified behavior in embassy-rs/embassy.
Repair a verified behavior in embassy-rs/embassy.: a task in OriGent-RL-Data (Harbor dataset). The non-DMA blocking write implementation for STM32 SPI v3 never returns when a transmitted word is accepted by the peripheral. It waits for TXP, writes the word to TXDR, and starts transfer; the…
The task
The non-DMA blocking write implementation for STM32 SPI v3 never returns when a transmitted word is accepted by the peripheral. It waits for TXP, writes the word to TXDR, and starts transfer; the subsequent loop then waits for !TXP, so it misses that TXP already means the transmit buffer can accept another word. As a…
Part of henryen/OriGent-RL-Data.