AnsweredAssumed Answered

STM32CubeMx Bug - DMA interrupt

Question asked by zorg.alex on Apr 1, 2014
Latest reply on Apr 8, 2014 by zorg.alex
STM32CubeMx generate code for STM32F407VGTx

I chek box "DMA2 Stream0 global interrupt" in "NVIC Configuration"

STM32CubeMx not add in stm32f4xx_hal_msp.c - HAL_NVIC_EnableIRQ:

void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc){
  GPIO_InitTypeDef GPIO_InitStruct;
  if(hadc->Instance==ADC1)
  {
...
    HAL_NVIC_EnableIRQ(DMA2_Stream0_IRQn); // No Add
  }
}



Outcomes