Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
OK, I will reply myself. It's because datasheet says for Atmega328p: "When the asynchronous operation is selected, the 32.768kHz Oscillator for Timer/Counter2 is always running,
except in Power-down and Standby modes."
When I do use: " set_sleep_mode(SLEEP_MODE_PWR_SAVE);" it's working fine!
Hi,
I am trying to build low powered application. The concept is that 32.768kHz crystal is waking up Atmega328p every 8 seconds. I tried to follow several tutorials from Internet but unfortunately my microcontroller cannot wake up from SLEEP_MODE_PWR_DOWN or SLEEP_MODE_STANDBY modes. Wiring is...
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.