Electronic Components Datasheet Search
  English  ▼

X  

AVR4013 Datasheet(PDF) 5 Page - ATMEL Corporation

Part # AVR4013
Description  Sleep modes PRR registers Oscillator calibration USART
PDF  7 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AVR4013 Datasheet(HTML) 5 Page - ATMEL Corporation

  AVR4013 Datasheet HTML 1Page - ATMEL Corporation AVR4013 Datasheet HTML 2Page - ATMEL Corporation AVR4013 Datasheet HTML 3Page - ATMEL Corporation AVR4013 Datasheet HTML 4Page - ATMEL Corporation AVR4013 Datasheet HTML 5Page - ATMEL Corporation AVR4013 Datasheet HTML 6Page - ATMEL Corporation AVR4013 Datasheet HTML 7Page - ATMEL Corporation  
Zoom Inzoom in Zoom Outzoom out
 5 / 7 page
background image
AVR4013
5
8349A-AVR-11/10
5.4 Use power-save sleep mode while waiting for next transmit
As the ATmega88PA is not processing any data while waiting for its next UART data
transmission, it’s a good idea to put the device into sleep mode to further reduce
power consumption
In the power-save sleep mode (see section 9.1, Sleep Modes, in the datasheet) we
can use Timer 2 as our wakeup source.
Brown out detection is not required in the power-save sleep mode because no data
can be corrupted. It will be automatically re-enabled on wakeup from sleep (see
section 9.2, BOD Disable, in the datasheet), so we choose to disable the BOD while
sleeping
The AVR toolchain includes a header file, sleep.h, which has functions for setting
sleep mode, disabling BOD, and putting the device into sleep. These functions are
called:
set_sleep_mode() – selects which sleep mode to use when the sleep
instruction is executed
sleep_enable() – enables sleep modes
sleep_bod_disable() – disables BOD while sleeping
sleep_cpu() – executes the sleep instruction
Runtime is now 198 seconds.
5.5 Calibrate oscillator to enable higher baud rate
Another approach to reduce power consumption is to reduce the time spent in active
mode.
In this application, the CPU is active while waiting for the UART transmission to end.
We will calibrate the oscillator to a frequency that allows a higher baud rate on the
UART to reduce the time spent in active mode.
We need a frequency close to 7.3728MHz to generate a stable baud rate of
115.2kbps (see section 19.10, Examples of Baud Rate Setting, in the datasheet). You
will need to set the frequency a bit higher than 7.3728MHz to be able to utilize the
whole voltage range. You will also want to divide the clock by 4 to get 1.8432MHz to
still be able to run the device with the 1.8V BOD setting.
We change the OSCCAL value to 0x5e.
Runtime is now increased to 217 seconds.
5.6 Conclusion
By structuring your application and understanding the power saving techniques
mentioned in this document, you can reduce energy consumption without doing any
changes to your PCB.
In this example, the runtime was increased from 6 to 217 seconds running off the
same power source.



Html Pages

1 2 3 4 5 6 7


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com