cancel
Showing results for 
Search instead for 
Did you mean: 

how to use ADC in STM32f0

panjivictory
Associate
Posted on August 06, 2014 at 04:20

hello

i'm begineer in stm32f0 series and i'm from indonesia

i'm use coIDE to making code for stm32f0

i have reading example ADC Trigger in coIDE

what i want to ask is

  /* Configure ADC Channel11 as analog input */

  GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1 ; // how we knows is PC1 is adc channel 11? 

    // so where another channel?

  GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AN;

  GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL ;

  GPIO_Init(GPIOC, &GPIO_InitStructure);

and about reading ADC from single channel, how to make code to ouput data from that single channel

and how to calibrate voltage reference of the ADC?

help me please

#dma #adc #stm32f0
0 REPLIES 0