Skip to main content
Visitor II
May 10, 2025
Solved

STM32U5 workshop GPDMA on U5A5

  • May 10, 2025
  • 2 replies
  • 419 views

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.

    This topic has been closed for replies.
    Best answer by moylando

    Rebuilt the project from the zip I included and it does indeed work.  So that video workshop seems applicable to U5A5 and it was just my error in live expressions.

    2 replies

    moylandoAuthor
    Visitor II
    May 10, 2025

    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.

    moylandoAuthorAnswer
    Visitor II
    May 11, 2025

    Rebuilt the project from the zip I included and it does indeed work.  So that video workshop seems applicable to U5A5 and it was just my error in live expressions.