I am using a S912ZVCA19F0MLF microcontroller based on S12Z architecture.
I am trying to put the microcontroller in Deep sleep (STOP mode), I find from the datasheet that the typical current consumption should be around 50uA. But I see there is a current consumption of 7.5mA. Please provide me some suggestions on how to debug that the micro is in STOP mode.
When I execute the instruction "__asm STOP;" the debugger loses the connection. So I cannot know what is happening on the MCU.
__asm ANDCC #0x7F;
1. How to know that the S912ZVCA19F0MLF has entered STOP mode successfully?
2. Also, do I have to disable all the peripherals before going to sleep? (To reduce the current consumption)
Please let me know how to debug this issue further?
Thanks & Regards,