Hi,
I've an interesting problem.
If I initialize the MCU with
"ICGC1 = 0b00111110; // 32768 enabled, loss of clock detection enabled"
the total current in stop3 is equal to 5.0uA.
If I initialize the MCU with
"ICGC1 = 0b00111101; // 32768 disabled in stop, loss of clock detection disabled"
the total current in stop3 is equal to 9.1uA.
An other problem here is that total current consumed is increasing over time in both condition. For example it starts with 5uA, but 3 minute later, it start increasing with steps about 1uA. 20 minutes later it becomes to 400uA and start falling. total 30 minutes later it falls to 5uA again and be stable.
The MCU is MC9S08LC60.
Thank you.