cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 has a 12bit ADC, but when I read it, the resolution is 10-bit. Why?

bryan costanich
Associate II
Posted on November 13, 2017 at 16:53

Hi folks!

The STM32 series has a 12-bit ADC, but when I'm reading values from AnalogInputs on a Netduino, it's only 10-bit precision (1,024 steps). Why is that? Is there something being lost in the .NET MicroFramework layer? Or is this just how the ADC works?

2 REPLIES 2
Posted on November 13, 2017 at 17:09

Or is this just how the ADC works?

No.

Is there something being lost in the .NET MicroFramework layer?

Maybe. What does the Netduino documentation say?

JW

Posted on November 13, 2017 at 17:47

It doesn't specifiy.

I'm writing that documentation.

I'll go dig around the Microframework code. My guess is that it's set this way to be Arduino compatible.