STMcubeMX: TIM3 => ADC1 => DMA1_CHANNEL1 => IRQ


Because my bare metal version of a ADC1+DMA1+DMA1_CHANNEL1+DMAMUX+TIM3 System will not work,
I now try to build such a system using STM32CubeMX/HAL - but with greater problems.
Now writing to hdma->Instance->CCR fails, when I step
into MX_ADC1_Init(),
into HAL_ADC_Init(&hadc1),
into HAL_ADC_MspInit(hadc),
into HAL_DMA_Init(&hdma_adc1)
to the line hdma->Instance->CCR = tmp;
tmp has the value 0x5A0, hdma->Instance->CCR before an after execution of this line the value 0.
Has the DMA1-Clock to be enabled for writing to DMA1->CCR?
If so, the STM32CubeMX generated siftware will never work, because this Clock will be enabled
inside MX_DMA_Init(), which will be called after MX_ADC1_Init()?
