cancel
Showing results for 
Search instead for 
Did you mean: 

CubeF0: LL_DAC_init does not set DAC trigger source

Willunen
Associate III

Using STM32IDE LowLayer and STM32F051C8

This code does not set the triggersource for the DAC

DAC_InitStruct.TriggerSource = LL_DAC_TRIG_EXT_TIM15_TRGO;
DAC_InitStruct.OutputBuffer = LL_DAC_OUTPUT_BUFFER_ENABLE;
LL_DAC_Init(DAC, LL_DAC_CHANNEL_1, &DAC_InitStruct);

but this does work.

LL_DAC_SetTriggerSource(DAC1, LL_DAC_CHANNEL_1, LL_DAC_TRIG_EXT_TIM15_TRGO);

Is this a bug, or do I do something wrong,

Wilko

0 REPLIES 0