cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f303re wrong adc value reading

TB5BYO
Associate II

I am using stm32f303re nucleo board, I apply a voltage of 3.3 volts directly to the adc2_in2 analog pin of the stm32f303 microcontroller. My adc resolution rate is 12 bits and the value I read is around 3975. this causes me to get wrong results, why does it do this? Why can't I read properly with the 446re but not the 303?

1 ACCEPTED SOLUTION

Accepted Solutions

call ->


_legacyfs_online_stmicro_images_0693W00000bk5YmQAI.pngis this :


_legacyfs_online_stmicro_images_0693W00000bk5YrQAI.png

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

5 REPLIES 5
TB5BYO
Associate II
 

Did you perform ADC calibration as outlined in the RM?

JW

How do i calibrate?

call ->


_legacyfs_online_stmicro_images_0693W00000bk5YmQAI.pngis this :


_legacyfs_online_stmicro_images_0693W00000bk5YrQAI.png

If you feel a post has answered your question, please click "Accept as Solution".

it is work. thank you so much.