Question
Reading Problem from ADC
Posted on July 29, 2014 at 00:53
Hello,
I am reading from an external ADC in parallel interface(16 bits). I dont know what is wrong, only my port PE0 and PE1 are talking to the controller at 1V and rest all others taking at 3V. when I remove the connection from the ADC the ADC outputs as 3V signal, but when I connect to controller it goes back to 1V.here is how I have configuredGPIO_InitStruct.GPIO_Mode = GPIO_Mode_IN; GPIO_InitStruct.GPIO_Speed = GPIO_Speed_100MHz; GPIO_InitStruct.GPIO_OType = GPIO_OType_PP; GPIO_InitStruct.GPIO_PuPd = GPIO_PuPd_UP; GPIO_Init(GPIOE, &GPIO_InitStruct); Thanks #discovery #stm32f4 #gpio