cancel
Showing results for 
Search instead for 
Did you mean: 

BUG in cubeide1.10.0 and mx 6.6:call MX_ADC1_Init before MX_DMA_Init makes adc-dma config fail

XGuo.1
Associate II
2 REPLIES 2
XGuo.1
Associate II

H750vbt6, all 3 adc in use. the init code generated by cube in mian.c function main():

  /* Initialize all configured peripherals */
  MX_GPIO_Init();
  MX_ADC1_Init();
  MX_DMA_Init();
  MX_ADC2_Init();
  MX_ADC3_Init();

MX_ADC1_Init is in front of MX_DMA_Init, that will cause dma config fail when using adc1-dma1