This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
感觉你数据处理过程出了问题,你AIN分别接VCC和GND,看看读出来的AD内码对不对呢?
用1/3电源作參考電壓值是1.25V、HAL_ADC_RESOLUTION_10的滿刻度是511、所以讀值172転成電压=1.25x172/511=0.42,接近你ADC腳位的電压無誤