Temporary Voltage Drop Observed During ADC Conversion on NXP MCU

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

Temporary Voltage Drop Observed During ADC Conversion on NXP MCU

Jump to solution
1,072 Views
hants
Contributor I

Hello,

I am experiencing an issue with ADC measurements on an NXP MCU and would like to ask whether this behavior is expected or if there are recommended configuration options to mitigate it.

Issue Description

When performing an ADC read, I observe a temporary voltage drop on the ADC input at the moment the conversion starts. As a result, the measured ADC value is lower than the actual steady-state input voltage that I expect.

This voltage drop is brief, but it is sufficient to cause incorrect readings, especially when the ADC value is used to distinguish between closely spaced voltage levels.

Observations

  • The input voltage is stable when measured externally (e.g., with a multimeter or oscilloscope probe before conversion).

  • At the start of ADC conversion, the voltage at the ADC pin briefly drops, then recovers.

  • The ADC result appears to reflect this dropped voltage rather than the steady input level.

  • This behavior is consistently reproducible.

Environment

  • MCU: [S32K314]

  • ADC instance: [AdcHwUnit 1_1ch]

  • Software: [RTD R21-11 version 4.0.0 P19 / SW32K3 IPCF D2312]

  • ADC clock: [160Mhz]

  • Input source: 

    hants_0-1765763090668.pnghants_1-1765763183930.png

     

Questions

  1. Is this temporary voltage drop during ADC conversion a known or expected behavior related to the ADC sampling capacitor or input impedance?

  2. Are there recommended settings (such as sampling time, power-down delay, or other ADC configuration options) to avoid or reduce this effect?

  3. Is additional external buffering (e.g., an op-amp) generally required in this case?

  4. Are there any NXP application notes or references that discuss this phenomenon in detail?

Any guidance or best practices would be greatly appreciated.

Thank you in advance.

0 Kudos
Reply
1 Solution
1,024 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@hants

You can calculate the channel sampling time yourself, which is related to the module clock and ST parameters.

Senlent_0-1765785186038.png

Senlent_2-1765785230012.png

 

Senlent_1-1765785194283.png

 

 

View solution in original post

0 Kudos
Reply
3 Replies
1,038 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@hants

In short, the problem is that the resistance value of the voltage divider resistor in the voltage divider circuit is too large, causing sampling distortion.

I recommend that you change the resistance value of R1000 to below 5K and try again.

https://www.nxp.com/docs/en/application-note/AN12217.pdf

https://www.nxp.com/docs/en/application-note/AN4373.pdf

 

0 Kudos
Reply
1,031 Views
hants
Contributor I

hi@Senlent

Thanks for the reply. I understand that the main issue is the high source impedance of the divider (R1000 = 33k, R1001 = 100k), and that reducing R1000 below 5k is the recommended solution.

Just to clarify, I previously mentioned S32K314 by mistake — the actual MCU is S32K358.

For the current hardware revision, changing the resistor values is difficult. According to AN4373, increasing the ADC acquisition (sampling) time can also help with higher source impedances.

On S32K358, would increasing the acquisition time (and/or lowering ADCK via prescaler) be sufficient to achieve stable 12-bit results with this divider (~25 kΩ Thevenin source impedance)?
If so, is there a recommended minimum acquisition time (in ADCK cycles or µs), and which RTD/ADC parameter controls it?

Thanks.

 

0 Kudos
Reply
1,025 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@hants

You can calculate the channel sampling time yourself, which is related to the module clock and ST parameters.

Senlent_0-1765785186038.png

Senlent_2-1765785230012.png

 

Senlent_1-1765785194283.png

 

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2262113%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ETemporary%20Voltage%20Drop%20Observed%20During%20ADC%20Conversion%20on%20NXP%20MCU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2262113%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20experiencing%20an%20issue%20with%20ADC%20measurements%20on%20an%20NXP%20MCU%20and%20would%20like%20to%20ask%20whether%20this%20behavior%20is%20expected%20or%20if%20there%20are%20recommended%20configuration%20options%20to%20mitigate%20it.%3C%2FP%3E%3CH4%20id%3D%22toc-hId-206332729%22%20id%3D%22toc-hId-206367548%22%3EIssue%20Description%3C%2FH4%3E%3CP%3EWhen%20performing%20an%20ADC%20read%2C%20I%20observe%20a%20%3CSTRONG%3Etemporary%20voltage%20drop%3C%2FSTRONG%3E%20on%20the%20ADC%20input%20at%20the%20moment%20the%20conversion%20starts.%20As%20a%20result%2C%20the%20measured%20ADC%20value%20is%20%3CSTRONG%3Elower%20than%20the%20actual%20steady-state%20input%20voltage%3C%2FSTRONG%3E%20that%20I%20expect.%3C%2FP%3E%3CP%3EThis%20voltage%20drop%20is%20brief%2C%20but%20it%20is%20sufficient%20to%20cause%20incorrect%20readings%2C%20especially%20when%20the%20ADC%20value%20is%20used%20to%20distinguish%20between%20closely%20spaced%20voltage%20levels.%3C%2FP%3E%3CH4%20id%3D%22toc-hId--1601121734%22%20id%3D%22toc-hId--1601086915%22%3EObservations%3C%2FH4%3E%3CUL%3E%3CLI%3E%3CP%3EThe%20input%20voltage%20is%20stable%20when%20measured%20externally%20(e.g.%2C%20with%20a%20multimeter%20or%20oscilloscope%20probe%20before%20conversion).%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EAt%20the%20start%20of%20ADC%20conversion%2C%20the%20voltage%20at%20the%20ADC%20pin%20briefly%20drops%2C%20then%20recovers.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EThe%20ADC%20result%20appears%20to%20reflect%20this%20dropped%20voltage%20rather%20than%20the%20steady%20input%20level.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EThis%20behavior%20is%20consistently%20reproducible.%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CH4%20id%3D%22toc-hId-886391099%22%20id%3D%22toc-hId-886425918%22%3EEnvironment%3C%2FH4%3E%3CUL%3E%3CLI%3E%3CP%3EMCU%3A%20%3CSTRONG%3E%5BS32K314%5D%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EADC%20instance%3A%20%3CSTRONG%3E%5BAdcHwUnit%201_1ch%5D%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3ESoftware%3A%20%3CSTRONG%3E%5BRTD%20R21-11%20version%204.0.0%20P19%20%2F%20SW32K3%20IPCF%20D2312%5D%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EADC%20clock%3A%20%3CSTRONG%3E%5B160Mhz%5D%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EInput%20source%3A%26nbsp%3B%3C%2FP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hants_0-1765763090668.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hants_0-1765763090668.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369813i3C98B9A9EC1F99CB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hants_0-1765763090668.png%22%20alt%3D%22hants_0-1765763090668.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22hants_1-1765763183930.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22hants_1-1765763183930.png%22%20style%3D%22width%3A%20206px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369814iF275B89992E1E7DA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22hants_1-1765763183930.png%22%20alt%3D%22hants_1-1765763183930.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FLI%3E%3C%2FUL%3E%3CH4%20id%3D%22toc-hId--921063364%22%20id%3D%22toc-hId--921028545%22%3EQuestions%3C%2FH4%3E%3COL%3E%3CLI%3E%3CP%3EIs%20this%20temporary%20voltage%20drop%20during%20ADC%20conversion%20a%20known%20or%20expected%20behavior%20related%20to%20the%20ADC%20sampling%20capacitor%20or%20input%20impedance%3F%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EAre%20there%20recommended%20settings%20(such%20as%20sampling%20time%2C%20power-down%20delay%2C%20or%20other%20ADC%20configuration%20options)%20to%20avoid%20or%20reduce%20this%20effect%3F%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EIs%20additional%20external%20buffering%20(e.g.%2C%20an%20op-amp)%20generally%20required%20in%20this%20case%3F%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EAre%20there%20any%20NXP%20application%20notes%20or%20references%20that%20discuss%20this%20phenomenon%20in%20detail%3F%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EAny%20guidance%20or%20best%20practices%20would%20be%20greatly%20appreciated.%3C%2FP%3E%3CP%3EThank%20you%20in%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2262395%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Temporary%20Voltage%20Drop%20Observed%20During%20ADC%20Conversion%20on%20NXP%20MCU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2262395%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%40%3CSPAN%3Ehants%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20can%20calculate%20the%20channel%20sampling%20time%20yourself%2C%20which%20is%20related%20to%20the%20module%20clock%20and%20ST%20parameters.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Senlent_0-1765785186038.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Senlent_0-1765785186038.png%22%20style%3D%22width%3A%20300px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369902iA1CCEAD8D9121DEE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Senlent_0-1765785186038.png%22%20alt%3D%22Senlent_0-1765785186038.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Senlent_2-1765785230012.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Senlent_2-1765785230012.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369904i0B13A3C8B71B1BE1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Senlent_2-1765785230012.png%22%20alt%3D%22Senlent_2-1765785230012.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Senlent_1-1765785194283.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Senlent_1-1765785194283.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369903i9885B23BC90ECB76%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Senlent_1-1765785194283.png%22%20alt%3D%22Senlent_1-1765785194283.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2262362%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Temporary%20Voltage%20Drop%20Observed%20During%20ADC%20Conversion%20on%20NXP%20MCU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2262362%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%40%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F188029%22%20target%3D%22_self%22%3E%3CSPAN%20class%3D%22%22%3ESenlent%3C%2FSPAN%3E%3C%2FA%3E%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply.%20I%20understand%20that%20the%20main%20issue%20is%20the%20high%20source%20impedance%20of%20the%20divider%20(R1000%20%3D%2033k%2C%20R1001%20%3D%20100k)%2C%20and%20that%20reducing%20R1000%20below%205k%20is%20the%20recommended%20solution.%3C%2FP%3E%3CP%3EJust%20to%20clarify%2C%20I%20previously%20mentioned%20%3CSTRONG%3ES32K314%3C%2FSTRONG%3E%20by%20mistake%20%E2%80%94%20the%20actual%20MCU%20is%20%3CSTRONG%3ES32K358%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3EFor%20the%20current%20hardware%20revision%2C%20changing%20the%20resistor%20values%20is%20difficult.%20According%20to%20%3CSTRONG%3EAN4373%3C%2FSTRONG%3E%2C%20increasing%20the%20ADC%20acquisition%20(sampling)%20time%20can%20also%20help%20with%20higher%20source%20impedances.%3C%2FP%3E%3CP%3EOn%20%3CSTRONG%3ES32K358%3C%2FSTRONG%3E%2C%20would%20increasing%20the%20acquisition%20time%20(and%2For%20lowering%20ADCK%20via%20prescaler)%20be%20sufficient%20to%20achieve%20stable%2012-bit%20results%20with%20this%20divider%20(~25%20k%CE%A9%20Thevenin%20source%20impedance)%3F%3CBR%20%2F%3EIf%20so%2C%20is%20there%20a%20recommended%20minimum%20acquisition%20time%20(in%20ADCK%20cycles%20or%20%C2%B5s)%2C%20and%20which%20RTD%2FADC%20parameter%20controls%20it%3F%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2262308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Temporary%20Voltage%20Drop%20Observed%20During%20ADC%20Conversion%20on%20NXP%20MCU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2262308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22mailto%3AHi%40hants%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EHi%40hants%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EIn%20short%2C%20the%20problem%20is%20that%20the%20resistance%20value%20of%20the%20voltage%20divider%20resistor%20in%20the%20voltage%20divider%20circuit%20is%20too%20large%2C%20causing%20sampling%20distortion.%3C%2FP%3E%0A%3CP%3EI%20recommend%20that%20you%20change%20the%20resistance%20value%20of%20R1000%20to%20below%205K%20and%20try%20again.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12217.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12217.pdf%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN4373.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN4373.pdf%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E