Reading analog value

Hello, could someone help me with reading analog value from pin PC0?
I’m using STSPIN32G4

I tried to configure it with cubemx and use it in platformIO, it works with empty project, but stops when I put it into my project, where I measure current, using internal opamps

LowsideCurrentSense current_sense = LowsideCurrentSense(0.005, 7.33, PA2, _NC, PB1);

HAL_ADC_Start(&hadc1);
HAL_ADC_PollForConversion(&hadc1, HAL_MAX_DELAY);
uint32_t adcValue = HAL_ADC_GetValue(&hadc1);
HAL_ADC_Stop(&hadc1);
Serial1.println(adcValue);

I tried also ADC2 (PA2,PB1 = ADC1) , still got zeros at result

Tried also analogRead :wink:

maybe i should use some function from simpleFOC library to use analogReads?