-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UART failure with CONFIG_UART_ASYNC_API #31711
Comments
@shlomow would you have time to have a look ? |
@edesta-be did you set the dts bindings of the dma controller to |
@edesta-be Could you have a check to the answer from @shlomow and provide feedback please ? |
I apologise! I did not see this! I will respond asap when I get to my setup! my apologies and thank you for your time! |
@edesta-be any news ? We're in the late stage of V2.5.0, and as a consequence we are tracking bug count. |
Not yet I apologise, my team is backlogged on getting the parts back to me after having to do some retesting. So I have been unable to test. |
@edesta-be can you have a try with #32607 ? |
When disabling the data stm32f7 data cache (with #32607) the test is passed on nucleo board. This only a workaround, that might show this is a pb with cache coherency on the stm32f7 when using DMA. |
Hi @erwango! |
@edesta-be First, please follow indications provided here: #31711 (comment) |
I confirm that using a flush command on Tx and invalidate one on Rx, improves the test a lot
|
@eden-desta Should we keep this ticket open ? |
No feedback. Closing |
Hello!
So i started a very simple project with a NUCLEO_F746ZG. It essentially is responsible for connecting to a serial device and parsing its information. I wanted to use the buffer system in order to wait until the buffer was filled prior to throwing an event. With that I saw the async api configuration and decided to use it
In my prj.conf i have CONFIG_SERIAL = y and CONFIG_UART_ASYNC_API = y.
My actual main simply:
And this is where the failure occurs. This function returns a negative number, which only occurs if it is not supported.
I took a look src code for uart_callback_set and it has a ifdef around a set of code that needs to run in order to do this. however, it fails to know that it is defined.
Not sure what to do next as it jumps to returning negative due to this failure.
Please let me know if there is something missing.
The text was updated successfully, but these errors were encountered: