STM32F401CCU6 Black Pill faulty readings while interfacing external ADC
Hello Team,
I'm using STM32F401CCU6 Black Pill Board. I've used MCP3208 ADC from Microchip for my application. while interfacing with microcontroller, I'm unable to get readings for few test cases. as Vref is 5v and ADC is of 12bit resolution. I've tested for 0v, 2.5v and 5v. getting 4095 as correct readings while applying input to channel 5v but getting garbage/random readings on 0v and 2.5v.
I've tested with another microcontroller for the same and works well.
Kindly check this and let me know.
Hoping to hear from you soon.
Thanks and Regards,
Prajwal Bhuse
design@avyannatech.com
