I'd like to know the current cost when the s32k344 is in standby mode.
the power supplys are: V15 , VDD_HV_A and VDD_HV_B
V15 and VDD_HV_A's current cost are ok ,but there is some problem with VDD_HV_B
below is measured data:
I measure the power domain respectively with high precision digital multimeter.
obviously, the cost of current in V15 and VDD_HV_A are lower than run mode,but current is greater in VDD_HV_B
I not sure whether can I paste datesheet here ,but in data sheet ,VDD_HV_B is not measured.
though I sure my MCU goes into standby mode ,because when it wake it up I can read back right WKUP source infomation ,but my current cost is much lower than the value in datasheet.
I close all peripheral clock except siul2 for IO WKUP.
below is key code before I go into standby mode:
...
Clock_Ip_DisableSircInStandby();
...
IP_DCM_GPR->DCMRWF1 &= ~DCM_GPR_DCMRWF1_STANDBY_IO_CONFIG_MASK;
...
IP_DCM_GPR->DCMRWF5 = (uint32_t )VectorTable |0x00000001UL;
IP_PMC->CONFIG |= PMC_CONFIG_FAST_RECOVERY_ENABLE;
IP_DCM_GPR->DCMRWF2 |=
0x00000040UL|
DCM_GPR_DCMRWF2_PMC_TRIM_RGM_DCF__BYP_STDBY_EXT_MASK|
DCM_GPR_DCMRWF2_FIRC_TRIM_BYP_STDBY_EXT_MASK |
DCM_GPR_DCMRWF2_DCM_SCAN_BYP_STDBY_EXT_MASK;
questions are:
1.when the VDD_HV_B is used ? and why the current cost is rised in standby mode ?
2.what should I do to measure the real current cost of MCU in standby mode?
Hello @Momiji,
Do you use your own custom board or an NXP EVB?
VDD_HV_B Standby current is specified in the datasheet, please refer to Table 14, DS rev.3.
In the RM, rev4, Figure 150 (Power management system for S32K344), you can see that VDD_HV_B is the power supply of certain pads (S32K344_IOMUX.xlsx, IO Signal Table, column K).
Please make sure the MCU does not drive any external load on the pads, and that the pads are not floating inputs.
Thank you,
BR, Daniel