S32K3 12bit ADC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3 12bit ADC

Jump to solution
2,415 Views
Jon123
Contributor II

Jon123_0-1733300072359.png

Hello, I want to ask the ADC of S32K3 is 12-bit, but the data register is 15-bit, and the number of bits that can be selected by the software is also the highest 14-bit. Is it over-sampled? For example, a 12-bit ADC evenly samples 64 times, accumulates and divides by 8 to get a 15-bit result. And would like to ask what is the function of the special capacitor, thank you.

0 Kudos
Reply
1 Solution
2,358 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

result is always 15 bits wide, even though the selected resolution is smaller.
check colleague's feedback too
https://community.nxp.com/t5/S32K/S32K3-Confusion-about-ADC-accuracy-and-results/m-p/2007891/highlig...

BR, Petr

View solution in original post

0 Kudos
Reply
3 Replies
2,386 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

check below thread for sample data alignment explanation
https://community.nxp.com/t5/S32K/S32K344-ADC-data-alignment-and-bit-resolution/td-p/1571229

BR, Petr

0 Kudos
Reply
2,373 Views
Jon123
Contributor II

Thank you for your answer, but it seems that my expression is not clear enough, which makes this answer not the answer I expected. What I want to ask is, is the original data collected by ADC here 15 digits? After the conversion, the ADC data of 14, 12, 10 and 8 bits are available, but I see that the SAR ADC module is 12 bits in the data manual. I want to know how to extract 15-bit data from this 12-bit module. Thank you.

0 Kudos
Reply
2,359 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

result is always 15 bits wide, even though the selected resolution is smaller.
check colleague's feedback too
https://community.nxp.com/t5/S32K/S32K3-Confusion-about-ADC-accuracy-and-results/m-p/2007891/highlig...

BR, Petr

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2006792%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K3%2012bit%20ADC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006792%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jon123_0-1733300072359.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Jon123_0-1733300072359.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F313978i9DDA5002F7EAF452%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jon123_0-1733300072359.png%22%20alt%3D%22Jon123_0-1733300072359.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EHello%2C%20I%20want%20to%20ask%20the%20ADC%20of%20S32K3%20is%2012-bit%2C%20but%20the%20data%20register%20is%2015-bit%2C%20and%20the%20number%20of%20bits%20that%20can%20be%20selected%20by%20the%20software%20is%20also%20the%20highest%2014-bit.%20Is%20it%20over-sampled%3F%20For%20example%2C%20a%2012-bit%20ADC%20evenly%20samples%2064%20times%2C%20accumulates%20and%20divides%20by%208%20to%20get%20a%2015-bit%20result.%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3EAnd%20would%20like%20to%20ask%20what%20is%20the%20function%20of%20the%20special%20capacitor%2C%20thank%20you.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2008241%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%2012bit%20ADC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2008241%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Eresult%20is%20always%2015%20bits%20wide%2C%20even%20though%20the%20selected%20resolution%20is%20smaller.%3CBR%20%2F%3Echeck%20colleague's%20feedback%20too%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K3-Confusion-about-ADC-accuracy-and-results%2Fm-p%2F2007891%2Fhighlight%2Ftrue%23M43912%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K3-Confusion-about-ADC-accuracy-and-results%2Fm-p%2F2007891%2Fhighlight%2Ftrue%23M43912%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2007647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%2012bit%20ADC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2007647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20for%20your%20answer%2C%20but%20it%20seems%20that%20my%20expression%20is%20not%20clear%20enough%2C%20which%20makes%20this%20answer%20not%20the%20answer%20I%20expected.%20What%20I%20want%20to%20ask%20is%2C%20is%20the%20original%20data%20collected%20by%20ADC%20here%2015%20digits%3F%20After%20the%20conversion%2C%20the%20ADC%20data%20of%2014%2C%2012%2C%2010%20and%208%20bits%20are%20available%2C%20but%20I%20see%20that%20the%20SAR%20ADC%20module%20is%2012%20bits%20in%20the%20data%20manual.%20I%20want%20to%20know%20how%20to%20extract%2015-bit%20data%20from%20this%2012-bit%20module.%20Thank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2006918%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K3%2012bit%20ADC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006918%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3Echeck%20below%20thread%20for%20sample%20data%20alignment%20explanation%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-ADC-data-alignment-and-bit-resolution%2Ftd-p%2F1571229%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K344-ADC-data-alignment-and-bit-resolution%2Ftd-p%2F1571229%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EBR%2C%20Petr%3C%2FP%3E%3C%2FLINGO-BODY%3E