cancel
Showing results for 
Search instead for 
Did you mean: 

Enable conversion of regular group is crashing / resetting program.

declareupdate
Associate III

Howdy

this line:

hadc->Instance->CR |= ADC_CR_ADSTART;

at the end of:

HAL_ADC_Start_DMA(ADC_HandleTypeDef* hadc, uint32_t* pData, uint32_t Length);

is causing a crash / reset. I've used HAL for this set up quite a few times with no problems, but this time it wont survive enabling the regular conversion. Any ideas what's happening here? I am trying to configure more channels than I ever have before, 15. 14 pins and the vrefint internally. Using an STM32L071RBT6

0 REPLIES 0