Skip to main content
d146
Visitor II
June 27, 2019
Question

STM32F446RE: why ADC output has and offset by 300 mV for various analog input?

  • June 27, 2019
  • 2 replies
  • 742 views

Hi,

I'm working on STM nucleo board (STM32F446RE) currently.I'm using ADC Channel 0 and 1.I have found that the ADC output has and offset by 300 mV for various analog input. Please explain the cause.

/* code snippet to read ADC Channel 1 output*/

for( int i=0; i<SIZE; i++)

adc2[i] = TM_ADC_Read(ADC1, ADC_Channel_1);

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
June 27, 2019

How do you calculate the voltage from ADC readout? What is the input source, is it low impedance enough/is the sampling time long enough?

JW

Ozone
Principal
June 27, 2019

ADCs are inputs.

Most probably, this offset exist already at the inputs, from your hardware.

Or, as Jan suggested, your sampling time is much too short.