2021-08-22 03:46 AM
In application note AN2834 (How to get the best ADC accuracy in STM32 microcontrollers), There is a clear error on Page 10, which defines 1 LSB by Vref+/2^12). But LSB depends on Resolution!
If Resolution is 10, then it would be defined by Vref+/2^10.
Even Editor ownself was explaining a "10-bit resolution ADC" in previous pages(not a 12-bit one), So the reader would be confused by this. Writers should specify that "Vref+/2^12" specifies to "12-bit resolution".
(Error reported here because There was no email or place to report AN errors.)
Solved! Go to Solution.
2021-12-10 02:41 AM
Hi @As.2s ,
Sorry for the delayed reply on this.
I confirm your remark, and it should be written as follow:
The resolution in terms of voltage depends on the reference voltage. The error in terms of voltage is calculated by multiplying the number of LSBs by the voltage corresponding to 1 LSB = VREF+/2N or VDDA/2N for N-bit ADC.
This will be updated in the coming release of the AN2834.
Thanks
Imen
2021-08-23 02:59 AM
Hello @As.2s and welcome to the Community :)
Thanks for pointing out this issue.
I escalated your request to involved people to take the necessary action.
Thanks
Imen
2021-12-10 02:41 AM
Hi @As.2s ,
Sorry for the delayed reply on this.
I confirm your remark, and it should be written as follow:
The resolution in terms of voltage depends on the reference voltage. The error in terms of voltage is calculated by multiplying the number of LSBs by the voltage corresponding to 1 LSB = VREF+/2N or VDDA/2N for N-bit ADC.
This will be updated in the coming release of the AN2834.
Thanks
Imen
2021-12-17 01:10 AM
Thanks, Imen.
I completely agree with you on this update. I appreciate your work to improve application notes.
Thanks