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
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