Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
The difference would be the amount of power the chip uses. In idle mode, the IC is still on but is not executing any instructions. In sleep mode, the IC basicaly shuts itself down by turning off the clock as well as all instruction execution. It can only be brought out of sleep mode by a WDT interupt or another external interupt.
Many peripherals also have a bit to disable the peripheral in idle mode. For example, lets say that you want to conserve power but need to listen for incoming bytes on the UART. If your device is using a few timers, some PWM, and SPI, you would configure those peripherals to be disabled in idle mode but keep the UART running. Shutting down those peripherals would save power.
If you go to sleep, pretty much everything is shut down except for the watchdog timer and external interrupts.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.