Skip to main content
Willunen
Associate III
September 27, 2019
Question

CubeF0: LL_DAC_init does not set DAC trigger source

  • September 27, 2019
  • 0 replies
  • 739 views

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

This topic has been closed for replies.