ADC resolution on S32K3xx

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

ADC resolution on S32K3xx

Jump to solution
1,448 Views
vusal
Contributor III

Hello,

 

Just want to double-check my understanding: for data that's right-aligned, does the ADC resolution start at bit 14? So, essentially, bit 14 is always the Most Significant Bit (MSB) regardless of the resolution, right? I'm just curious about why bit 0 wasn't chosen as the Least Significant Bit (LSB). Any insights on the reasoning behind this? Thanks for helping out!

vusal_0-1712701261489.png


Best,
Vusal

 

0 Kudos
Reply
1 Solution
1,427 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Vusal,

See Adc_Sar_Ip_GetConvData and Adc_Sar_GetMaskedResult. Your understanding is correct.

Adc_Sar_Ip_GetConvData Adc_Sar_GetMaskedResult.png

Sorry, I didn't find the reason for this design.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

View solution in original post

2 Replies
1,428 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Vusal,

See Adc_Sar_Ip_GetConvData and Adc_Sar_GetMaskedResult. Your understanding is correct.

Adc_Sar_Ip_GetConvData Adc_Sar_GetMaskedResult.png

Sorry, I didn't find the reason for this design.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

1,421 Views
vusal
Contributor III

Hi @Robin_Shen ,

Thank you for confirming this. This is good to know.

Best regards,
Vusal

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1843413%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EADC%20resolution%20on%20S32K3xx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1843413%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EJust%20want%20to%20double-check%20my%20understanding%3A%20for%20data%20that's%20right-aligned%2C%20does%20the%20ADC%20resolution%20start%20at%20bit%2014%3F%20So%2C%20essentially%2C%20bit%2014%20is%20always%20the%20Most%20Significant%20Bit%20(MSB)%20regardless%20of%20the%20resolution%2C%20right%3F%20I'm%20just%20curious%20about%20why%20bit%200%20wasn't%20chosen%20as%20the%20Least%20Significant%20Bit%20(LSB).%20Any%20insights%20on%20the%20reasoning%20behind%20this%3F%20Thanks%20for%20helping%20out!%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22vusal_0-1712701261489.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22vusal_0-1712701261489.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F272784iA60C372085195CBC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22vusal_0-1712701261489.png%22%20alt%3D%22vusal_0-1712701261489.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EBest%2C%3CBR%20%2F%3EVusal%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1843916%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20ADC%20resolution%20on%20S32K3xx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1843916%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F57959%22%20target%3D%22_blank%22%3E%40Robin_Shen%3C%2FA%3E%26nbsp%3B%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20confirming%20this.%20This%20is%20good%20to%20know.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20regards%2C%3CBR%20%2F%3EVusal%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1843567%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20ADC%20resolution%20on%20S32K3xx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1843567%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3EVusal%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESee%20%3CEM%3EAdc_Sar_Ip_GetConvData%3C%2FEM%3E%20and%20%3CEM%3EAdc_Sar_GetMaskedResult%3C%2FEM%3E.%20Your%20understanding%20is%20correct.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Adc_Sar_Ip_GetConvData%20Adc_Sar_GetMaskedResult.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Adc_Sar_Ip_GetConvData%20Adc_Sar_GetMaskedResult.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F272828iAE21E8D9B0532224%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Adc_Sar_Ip_GetConvData%20Adc_Sar_GetMaskedResult.png%22%20alt%3D%22Adc_Sar_Ip_GetConvData%20Adc_Sar_GetMaskedResult.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESorry%2C%20I%20didn't%20find%20the%20reason%20for%20this%20design.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%3CBR%20%2F%3E-%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20%22Mark%20Correct%22%20button.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E-%20We%20are%20following%20threads%20for%207%20weeks%20after%20the%20last%20post%2C%20later%20replies%20are%20ignored%3CBR%20%2F%3EPlease%20open%20a%20new%20thread%20and%20refer%20to%20the%20closed%20one%2C%20if%20you%20have%20a%20related%20question%20at%20a%20later%20point%20in%20time.%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E