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.
Hello @danielmartynek
I solved issue to IBE bit OFF.
Thank you.
Best Regards,
Sean Sung
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
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."
Best Regards,
Sean Sung.
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