Help with DMA driven DAC

Status
Not open for further replies.

Thread Starter

ApacheKid

Joined Jan 12, 2015
1,762
I'm struggling to get something presumably straightforward, to work.

I'm trying to use DMA to pump a 4K sine table (precalculated) through a DAC on my Nucleo-F446RE board.

I've successfully had this working where the app just loops and writes the values from slot 0 to 4095, over and over and that works fine, I see the expected sine wave on my DSO.

Now I've modified this to use DMA and need help, I can find no concrete example of this for my specific board. I am also using a book Programming with STM32 (by Donald Norris), not a bad book but again this specific example isn't covered.

I also used Cube to generate the initialization code for the various peripherals.

So my question is this, can anyone see anything obvious missing from this main function?



Thanks
 

djsfantasi

Joined Apr 11, 2010
9,237
The question is very clear, the last line of my post is quite clear I think.
I absolutely love posters who respond when asked to clarify their post, replies that it is quite clear!

IF IT WAS CLEAR WE WOULDNT ASK YOU TO CLARIFY!

Good luck, I’m not falling into this rabbit hole...
 
Status
Not open for further replies.
Top