cancel
Showing results for 
Search instead for 
Did you mean: 

The equation for actual code of internal ADC in SAM4S series of MCUs

PVakr.1
Associate

I need a clarification regarding the actual ADC code equation for SAM4S family of microcontrollers.

The equation from data sheet is,0693W00000StyrlQAB.jpgDoes this equation hold good for both single ended and differential inputs ?

Looks like it is considering a differential input as the input values subtracted with 2047 and then the gain error is applied on that.

For the single ended inputs the gain error should be directly applied to the input value

2 REPLIES 2

SAM4S is from ATMEL/MICROCHIP, not ST

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
PVakr.1
Associate

Thanks, wrong community