/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / ADC calibration data seems really high

Username:     
Password:     
             

Forum

# 1   2011-03-23 12:31:04 ADC calibration data seems really high

pascal697
Member
Registered: 2011-03-23
Posts: 16

ADC calibration data seems really high

Hello,

I am working on a design involving several STM32 (STM32F100 and STM32F103). The STM32F100 are in small package so Vref and VVda are internally connected. I have checked VDDA with active probe/short gnd, the ripple is extremely low.

I wrote a fairly simple test software in order to check ADC in our design. The test is :
1. read Vrefint before calibration
2. perform calibration and display calibration data
3. read vrefint after calibration

The results are somewhat disturbing to us (the software displays raw data read in the ADC register) :

0x000002AE
Cal data
0x000003A8
0x000006EC

=> 0x2AE is 0.55V and 0x6EC is 1.43V (Vrefint is between 1.16V and 1.24V and my board is running at 20°C).

I also wonder about the high offset of the calibration data. Dis you ever encounter such offset ?

Thanks for your feedback.

Offline

 

# 2   2011-06-08 17:03:07 ADC calibration data seems really high

X-Rocka
New member
Registered: 2011-03-25
Posts: 1

Re: ADC calibration data seems really high

I'm also having ADC problems, especially with the calibration in CR2.
After setting the bits, they are never reset by hardware.
Any ideas on this?

Offline

 

Board footer