How To Use DAC on STM32F4 Discovery? Posted by Alec on 2016-03-07 22:15 If you go to the definition of HAL_DAC_Init() in stm32F4xx_hal_dac.c you will see that it takes care of calling HAL_DAC_MspInit(). This same method is used will all the HAL initialization functions.