I used to think STM8L would cost less energy than ATTINY. Today I got some time to view the datasheet for these two MCU.
First comes the STM8L datasheet:
![](http://140.238.200.40/wp-content/uploads/2021/06/image-1.png)
If we just use low speed oscillator (LSI) in the STM8L, it would only cost 0.9uA when all other components has shutdown.
How about ATTINY? Then comes the datasheet:
![](http://tech.donghao.org/wp-content/uploads/2021/06/image-2-1024x561.png)
Since we need to enable watch dog timer (WDT) to wakeup, the ATTINY cost typical 4uA in low power mode.
Seems my memory is still correct 🙂 STM8L is the winner.