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

Add linked list for GPDMA on STM32H5 #2802

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dfuhrmi
Copy link

@dfuhrmi dfuhrmi commented Apr 11, 2024

For the transmission of continuous data streams, concepts such as double buffering are often used with the STHM32H7. These manage two separate buffers. The GPDMA unit of the STM32H5 enables linked lists for scheduled DMA transfers.
My approach offers the possibility to manage several memory areas of the same size and type. The list can have an open end or be linked to the beginning.
A major disadvantage of the linked list concept is that it is not easy to find out which memory areas have already been filled. The asynchronous query with await would also be terminated after the first transfer.
However, the implementation could be used to emulate double buffering, which enables continuous data transfer with hardware support.

@Dirbaio
Copy link
Member

Dirbaio commented Apr 26, 2024

can you fix CI? rebase on latest main should fix it.

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

Successfully merging this pull request may close these issues.

None yet

2 participants