6 years, 8 months ago.

STM32 dac with dma HAL


Does anyone know where I could get a simple example code of DMA transfer to DAC for the STM32 series that is consistent with the new HAL drivers?

I have version working with non older mbed code that did not have the HAL drivers, but newest compiler required the HAL version of drivers so my code cannot work anymore.

May be this link can help http://www.st.com/web/en/catalog/tools/PF257909#

posted by David Fletcher 27 Mar 2015

1 Answer

6 years, 8 months ago.


The best thing to get examples with ST HAL driver is to install the STM32Cube firmware package corresponding to your Nucleo board: STM32CubeF1 for NUCLEO_F1xxx, STM32CubeF4 for NUCLEO_F4xx boards etc...

See here: http://www.st.com/web/en/search/partNumberKeyword

Then see in the Examples folder.