cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U5 workshop GPDMA on U5A5

moylando
Associate II

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.

1 REPLY 1
moylando
Associate II

I've made some progress here.  One issue was just a newb mistake using live expressions:

moylando_0-1746917004584.png

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.