Skip to content
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

use DMA for serial communication #2

Open
Veix123 opened this issue Nov 26, 2020 · 1 comment
Open

use DMA for serial communication #2

Veix123 opened this issue Nov 26, 2020 · 1 comment

Comments

@Veix123
Copy link
Collaborator

Veix123 commented Nov 26, 2020

The NUCLEO board has a DMA controller that could be used to offload some CPU load to the dedicated controller. @oalaro already looked into this in becd7c7. Sending a single message via DMA works, but afterwards everything crashes. Since DMA functions are not implemented in mbed-os yet we have to fall back to the lower level HAL layer.

@oalaro
Copy link

oalaro commented Dec 10, 2020

Found a working example online. Seems to work fine with sending and receiving data over serial with DMA. Needs more work to understand how everything works in this example and how to port it over completely to our use case.

b4847e4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants