cancel
Showing results for 
Search instead for 
Did you mean: 

Distorted measurement ADC

JR2963
Senior II

Hi,

on STM32F303 I use ADC with DMA (12 bit), I measure signals on 3 channels + Vrefin.

The input signal is pure sine wave 50 Hz (I can see it on scope). But when I measure it with ADC, so there is distored sine wave, I tried to change SAMPLING TIME, and also Sampling frequency. It changed, but this is the best result what I have got, but still distored. Is there any chance how to solve that problem?

There is no saturation, there is reserve in amplitude


_legacyfs_online_stmicro_images_0693W00000dDLA9QAO.png

13 REPLIES 13

Where is the 1.65V coming from, and how does that look like on the oscilloscope?

JW

Also, don't you try to use the ADC in differential mode? If so, have you read the Errata?

JW

I am sorry, now I can see on the scope the signa is not pure wave.I hadn't really seen the distortion before!

There is 50% amplitude:


_legacyfs_online_stmicro_images_0693W00000dDQGqQAO.png
_legacyfs_online_stmicro_images_0693W00000dDQGlQAO.png

I am sorry, now I can see on the scope the signa is not pure wave.I hadn't really seen the distortion before!

Anyway the 1.65 is from OPAMP, but now when the input signal is distored...

I do not understan that, it is 230 Volts throught the isolation transformer directly to the voltage divider...