2025-05-10 11:45 AM
I followed the GPDMA tutorial here:
https://www.youtube.com/watch?v=jKOhRfb3gvk
and configured everything as shown. The workshop was on a U575 but I would assume it's the same configuration for the U5A5? I'm using the Nucleo-U5A5ZJ-Q. I'm unable to get data passed via DMA into my data array. I can see the ADC1->DR register getting continuously updated, but my data array remains zero length.
I've attached a zipped project.
Any help would be appreciated.
2025-05-10 3:45 PM
I've made some progress here. One issue was just a newb mistake using live expressions:
The expression for ctrlData just shows a zero, but if I inspect the individual elements I'm getting data.
I'm not sure if this works in the original project I uploaded. Will try to confirm if it did and I missed it or if one of the other changes I made resolved the issue, and if so what that was.