cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-H753ZI board Connect ADC inputs to GND, the readings are varied between -15 - +15

RongShengWang
Associate III

Nucleo-H753ZI board. ADC1 configurations: INPUT: SINGLE-END

Sample clock rate = 5Mhz

Sample rate = 10Khz,

Sample Time = 16.5 cycles,

Resolution = 12-bit

Scan 256 times

Connect the defined two ADC input channels to GND.

The 256 readings FOR EACH INPUT are varied between (-15 - +15), more or less, while they should be read as zeros.

Question: Can it be fixed How to fix it?

Could you do the same test to confirm it?

Thanks,

 

Rong

2 REPLIES 2
Chris21
Senior III

The lowest value a single-ended ADC channel can have is 0, how do you get negative numbers?

Sorry, I pasted wrong data. It should be

5, 0, 5, 0, 12, 0, 15, 1, 0, 0, 0, 0, 3, 5, 17, 0, 0, 0, 0, 0, 0, 15, 0, 11, 17, 16, 0, 0, 12, 0, 4, 15, 7, 0, 0, 0, 0, 0, 0, 0, 5, 10,

Total 256's. I just listed first 40's.

Thanks