As the subject, KEAZ64 enter into stop mode succeed every time, however it doesn't work while DIO pin and CLK pin disabled.
Hi Robin,
Thanks for your reply, I disable SWD function by config PE and judge based on the measured current.
BR
Erxi
Have you tested the project in that discussion? Add that code can still enter STOP mode.
The hardware that needs to be changed on the development board is also mentioned there.
Hi Robin
I tested my own board,not development board.
That example does not use other peripherals, just puts the MCU into STOP mode.(So I think you can test it on your custom board)
You need to refer to the points of attention in that discussion and check whether your external circuit has any part that affects power consumption.
Avoid some bad case:
Hi Robin,
Thanks for your help, I will check it based on your advice.
Hi Wangerxi,
Did you disable SWD function by cleasr the SWDE of SIM_SOPT0?
SIM_SOPT0 &= ~SIM_SOPT0_SWDE_MASK;
How did you know the MCU didn't enter into stop mode?
If you are judging based on the measured current, then please refer the discussion in how to achieve the KEA128 lowest static current in STOP mode
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------