AnsweredAssumed Answered

STM32VLDISCOVERY - ADC: unexpected behavior

Question asked by fassarella.marcelo on Jun 29, 2013
Latest reply on Jul 4, 2013 by fassarella.marcelo
Is it possible to use ADC without configure GPIO for AIN?
For example, if the lines below are commented in the program, can ADC still work?

//       GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AIN;
//       GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1;  
//       GPIO_InitStructure.GPIO_Speed  = GPIO_Speed_50MHz;
//       GPIO_Init(GPIOC, &GPIO_InitStructure);

at really, I put the pin with the mode IN_FLOATING and the ADC work normally.

Outcomes