Replies: 3 comments 4 replies
-
I've updated the patch to use DMA channels which actually support usart1. Unfortunately, that didn't help. |
Beta Was this translation helpful? Give feedback.
-
Okay I managed to get it working by setting the dma slot to 3 like this:
I found that by trial & error and have no idea where I'd find that information. I thought you're free to choose the slot when using a dmamux (which I'm not using). |
Beta Was this translation helpful? Give feedback.
-
If I'm correct this information could be found in ref man (RM076.pdf), Table 51. Summary of the DMA requests for each channel |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
DMA doesn't seem to work with UART on this board.
It looks like data is neither received nor sent.
Please also mention any information which could help others to understand
the problem you're facing:
b_l072z_lrwan1
dmas
config 100% and copied it fromdisco_l475_iot1.overlay
, so I wouldn't exclude a user error.To Reproduce
Steps to reproduce the behavior:
west build -b b_l072z_lrwan1 zephyr/tests/drivers/uart/uart_async_api
west flash -r openocd
Expected behavior
The tests should succeed. More specifically, the DMA should be able to send and receive data.
Impact
It prevents using the async UART API with this board.
Logs and console output
Environment (please complete the following information):
Linux
Zephyr SDK
fa2054f93e4e80b079a4a6a9e84d642e51912042 (tag: v3.1.0-rc3)
Additional context
b_l072z_lrwan1
to the test:Beta Was this translation helpful? Give feedback.
All reactions