1972968_en-US

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

1972968_en-US

1972968_en-US

S32K312 high dark current after update MCAL

Hello.

My product have high dark current issue after update MCAL (RTD).


When MCU sleep(POWER_IP_STANDBY_MODE),

- S32K3 RTD 2.0.1 (7 July 2022) :  0.2 mA

- S32K3 RTD 3.0.0 P01 (31 March 2023) : 0.7 mA

I use same application code.


After checking little more...

When I set my ADC input port to unused, then 0.2 mA measurement with RTD 3.0.0.

 


Port_SetAsUnusedPin(PortConf_PortPin_PortPin_PTB9_BAT);



Is there any change about ADC in standby mode?


Best Regards,

Sean Sung.

Re: S32K312 high dark current after update MCAL

Hello @danielmartynek 

I solved issue to IBE bit OFF.

Thank you.


Best Regards,

Sean Sung

Re: S32K312 high dark current after update MCAL

Hello Sean Sung,

That means the IBE bit in MSCR is set (input buffer enabled).

If the input buffer is enabled, the voltage at the pin must be either VDD or VSS, otherwise it draws some additional current.

There is no need to use the input buffer at pins used as ADC inputs.


BR, Daniel


Re: S32K312 high dark current after update MCAL

Hello @danielmartynek 

Here is my config for PORT and ADC.

Could you check it?

Could you explain more about your mention?

"If so, the logic level at the pin must be defined, either VDD or VSS."


ssean_0-1729032285527.png

ssean_1-1729032289910.png


Best Regards,

Sean Sung.


Re: S32K312 high dark current after update MCAL

Hello @ssean,

Was the input buffer enabled in the MSCR register of the pin?

If so, the logic level at the pin must be defined, either VDD or VSS.


Regards,

Daniel


Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 04:13 PM
Updated by: