Skip to main content
Explorer
June 14, 2024
Question

DMA DAC over an U575ZI-Q

  • June 14, 2024
  • 0 replies
  • 639 views

Hello everyone

 

I've being trying to setup a DAC output using DMA in a nucleo U575ZI-Q board.I started with the example provided in the stm32CubeIDE, works fine, and I obtained a desired output. The point gets more complex because I needed to use the timers to trigger other signals, and thus I needed to change to other timers (for example, to TIMER2), And I couldn't get it on work. I'm using the 1.15.1 version of the ide, and there the DMA settings related to the DAC has changed with respect to the videos.

Following several examples (most of them for bluepills and others for STM32FXXX boards, but none of them for my specific board, I couldn't get it on work.

The outupt that I need is like a 0 --level2 -- 0 -- level1--- 0.

I got the following. As you can see, it goes up and down at every timer call, instead of just triggering the dma buffer.

 

output.jpg

 

My current DMA setting is as follows:

 

eosella_0-1718373365822.png

 

Any idea?

 

Thanks!

 

    This topic has been closed for replies.