Replies: 1 comment
-
It seems that this commit breaks asynchronous api. When using zephyr 4.0.0 there is no problem and async api do not block execution. In zephyr 4.1.0 async api block execution. And probably the issue does not affect only slave mode, but master mode also. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I don't know if it is a bug in STM32 SPI driver or I am missing something.
Does the spi_transceive_cb function should block ?
I have CONFIG_SPI_SLAVE=y and CONFIG_SPI_ASYNC=y, and example code below that blocks the main thread until first byte is received by the SPI peripheral. The call to spi_transceive_cb blocks in spi_ll_stm32.c in while loop
while (!ret && spi_stm32_transfer_ongoing(data));
. For me it looks like the driver does not support asynchronous mode properly.Beta Was this translation helpful? Give feedback.
All reactions