cancel
Showing results for 
Search instead for 
Did you mean: 

unable to start STM32F103CBU6 ADC

BAyya
Associate

Hi,

I started working on stm32f103cbu6 uC recently. Whenever i try to enable ADC1/ ADC2 , debugging terminates abruptly insideADC_Cmd(ADC1, ENABLE); at ADCx->CR2 |= CR2_ADON_Set;

The same code works with stm32f103cbt6. I tried with example code in st libraries and generated code from CUBEMX as well. Also tried updating ST-LINK firmware and drivers .By the way, i connected VDDA and VSSA to VDD and VSS. I am not sure whether it's a hardware issue or software issue. Please help.

Thanks in advance.

0 REPLIES 0