-
Notifications
You must be signed in to change notification settings - Fork 143
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
[stm32] H7 DMA + DMA data fixes + fix DAC DMA #772
Conversation
bad4471
to
ad7dfb0
Compare
ad7dfb0
to
bd0e1a8
Compare
DMA is working on H7 but I there is an issue with the DAC DMA driver on H7 and, most likely, also on F2, F4 and H7. On STMG4 the DAC DMA driver only works if the 16 bit samples are written as a 32 bit transfer. When both memory and peripheral sizes are set to "Half-Word" (16 bit) nothing happens. I will add DAC DMA examples for every STM32 series I have a devboard at home of, test what works and fix the driver. |
2530a8a
to
b22129c
Compare
DAC DMA is now also working on F4. F3 is not working yet, L4 and F7 are untested. |
On L4+ devices the DCMI and PSSI peripherals share the same hardware and DMA request number. Only one peripheral can be used at a time.
9558701
to
51d58b3
Compare
@salkinium If the CI succeeds, this is ready to be merged for the release. H7 DMA is working fine and I tested the DAC DMA driver on all platforms listed above. As I don't have the F3 board with me I could not test that one. The device data fix should go first. |
51d58b3
to
2ab1450
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice as always! I'll merge it tomorrow afternoon.
This adds support for H7 DMA. The device data has to be fixed first. H7 devices use the same DMA IP as F4/F7 devices but use the DMAMUX peripheral for request multiplexing.
The updates in modm-devices fix broken DMA request data for many G0, L4, H7 and WL devices.