AVR i power down mode

Witam Nie moge sie doszukac w manualu jak dlugo trzeba utrzymac stan niski na INT0 lub INT1 aby wybudzic procesor. Jedyne co znalazlem to ze czas musi byc wystarczajacy aby procesor zostal wybudzony. Pracuje na Atmega8.

Pozdrawiam Darek

Reply to
Darek
Loading thread data ...

Darek napisał(a):

Z sekcji external innterrupts manuala:

Note that if a level triggered interrupt is used for wake-up from Power-down mode, the changed level must be held for some time to wake up the MCU. This makes the MCU less sensitive to noise. The changed level is sampled twice by the Watchdog Oscillator clock. The period of the Watchdog Oscillator is 1 μs (nominal) at 5.0V and 25°C. The frequency of the Watchdog Oscillator is voltage dependent as shown in “Electrical Characteristics” on page 242. The MCU will wake up if the input has the required level during this sampling or if it is held until the end of the start-up time. The start-up time is defined by the SUT Fuses as described in “System Clock and Clock Options” on page 25. If the level is sampled twice by the Watchdog Oscillator clock but disappears before the end of the start-up time, the MCU will still wake up, but no interrupt will be generated. The required level must be held long enough for the MCU to complete the wake up to trigger the level interrupt.

Czyli wszystko zalezy od SUT.

Reply to
T.M.F.

Nie wiem jak to mogłem przeoczyć... Dzięki Darek

Reply to
Darek

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.