Skip to content

feature: add support for GPDMA on the DAC peripheral on STM32U5#6500

Open
RaresAndrei0 wants to merge 2 commits into
embassy-rs:mainfrom
RaresAndrei0:GPDMA_DAC_IMPL
Open

feature: add support for GPDMA on the DAC peripheral on STM32U5#6500
RaresAndrei0 wants to merge 2 commits into
embassy-rs:mainfrom
RaresAndrei0:GPDMA_DAC_IMPL

Conversation

@RaresAndrei0

Copy link
Copy Markdown
Contributor

Implemented GPDMA support, tested using a simple u8 transfer to a LED

Comment thread embassy-stm32/src/dac/mod.rs Outdated
@RaresAndrei0

RaresAndrei0 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Will improve the function by adding a TriggerTimer enum such that it will become a bit more verbose and easy to use(Typing "Tim6" instead of passing a "5" to the function)

Also will change the DacChannel::new, adding a timer parameter so the GPDMA timer will be declared in the ::new function and will be tied to the DAC instead of declaring and configuring it in main. Should also make the code cleaner and easier to use, this can work for now :)

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.

2 participants