Hi , I'm running the project S32K144_PowerManager_Example.
Few question on this.
Thanks
Solved! Go to Solution.
Hi,
SMC_HAL_SetPowerMode() in smc_hal.c uses STANDBY() function:
s32_core_cm4.h
Regards,
Daniel
Hi,
This is caused by a bug in a clock manager component.
To fix it, in the PowerManager example project in DSK/platform/hal/scr/scg/scg_hal.c
change regAddr = &base->VCCR to regAddr = &base->HCCR (line 186)
remove line 187 with base->HCCR = value
This bug will be fixed in the release after RTM SDK (0.8.3).
Regards,
Daniel
Thanks for the response,
What about my other question regarding the instruction "WFI" , IN THE DATA SHEET IT IS SAID ENTERING A LOW POWER MODE IS TRIGGERED BY "WFI" ,however it is not used in this example anywhere?
What is the story there?
Regards,
Hi,
SMC_HAL_SetPowerMode() in smc_hal.c uses STANDBY() function:
s32_core_cm4.h
Regards,
Daniel
Hi Daniel,
Just one more thing,
Do you know how to measure the current on this board(S32KEVB)?
I ASKED THIS QUESTION BEFORE AND GOT NO ANSWERS.
There is a MCU Current Measurement section in the schematic a 0ohm resistor and a jumper across(J15), do I need to populate it with a known value resistor and measure the voltage across and divide to get the current?
Thanks.
Hi,
Simply dump the resistor (R117) and use an ammeter. I measure the current this way.
I don't see a reason for a precise resistor, but you can do that, if you want to.
Regards,
Daniel
I spoke too soon.
Thanks,