2024-04-16 01:19 AM
I'm using the cube for generating code for IAR
there is an ADC with to a DMA
the MX_ADC_Init() fail, can't tell why
the ADC configuration:
the DMA configuration:
when i run the code, the fail point is:
i have checked that the DMA is initiate first and then the ADC
any help will be appreciated
thank you
2024-04-16 02:56 AM - edited 2024-04-16 03:16 AM
I have investigated the fail handle, the first time that the MX_ADC_Init() fail is after the assertion of the parameters:
at the stm32f0xx_hal_adc.c :
i can only guess that there is an issue implementing the parameters into the ADC