You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I’m working with a Nucleo-H533RE evaluation board and currently using the SPI interface with DMA. The basic communication works fine.
However, I’ve noticed that spi_read() is blocking, which is not ideal for my use case. I would prefer to be notified via a callback once the SPI transfer has completed.
According to the Zephyr documentation, asynchronous SPI communication with DMA and callback support appears to be possible in principle. Unfortunately, I haven’t been able to find a working example or clear instructions on how to set this up.
So I have a few questions:
Is there a working example for using SPI with DMA and callbacks in asynchronous mode on an STM32H5, specifically the H533RE?
Are there any specific configuration options that need to be set (e.g., in the device tree or spi_config)?
Can someone confirm whether this is fully supported on the STM32H5 within Zephyr?
Any hints, example code, or even just a confirmation would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I’m working with a Nucleo-H533RE evaluation board and currently using the SPI interface with DMA. The basic communication works fine.
However, I’ve noticed that spi_read() is blocking, which is not ideal for my use case. I would prefer to be notified via a callback once the SPI transfer has completed.
According to the Zephyr documentation, asynchronous SPI communication with DMA and callback support appears to be possible in principle. Unfortunately, I haven’t been able to find a working example or clear instructions on how to set this up.
So I have a few questions:
Is there a working example for using SPI with DMA and callbacks in asynchronous mode on an STM32H5, specifically the H533RE?
Are there any specific configuration options that need to be set (e.g., in the device tree or spi_config)?
Can someone confirm whether this is fully supported on the STM32H5 within Zephyr?
Any hints, example code, or even just a confirmation would be greatly appreciated.
Best regards,
Markus
Beta Was this translation helpful? Give feedback.
All reactions