Closed by-gnome closed 1 year ago
Hello @by-gnome,
Thank you for reporting this point. Actually, this point has been discussed and fixed internally, before we receive your request. The fix will be available soon hopefully.
With Regards, Tasnim
ST Internal Reference: 135724
Hi @by-gnome ,
The fix is available on stm32l4xx_hal_driver repository within this commit.
As fixed, please allow me to close this thread and thank you for your contribution.
With regards,
In HAL_SPI_TransmitReceive() the hspi->State variable remains in HAL_SPI_STATE_BUSY_RX after the first transaction, no further transactions are executed, HAL_BUSY is returned.
It can be solved like this: