Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AT89LP51 Datasheet(PDF) 30 Page - ATMEL Corporation

Part # AT89LP51
Description  8-bit Microcontroller with 8K Bytes In-System Programmable Flash
PDF  113 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP51 Datasheet(HTML) 30 Page - ATMEL Corporation

Back Button AT89LP51 Datasheet HTML 26Page - ATMEL Corporation AT89LP51 Datasheet HTML 27Page - ATMEL Corporation AT89LP51 Datasheet HTML 28Page - ATMEL Corporation AT89LP51 Datasheet HTML 29Page - ATMEL Corporation AT89LP51 Datasheet HTML 30Page - ATMEL Corporation AT89LP51 Datasheet HTML 31Page - ATMEL Corporation AT89LP51 Datasheet HTML 32Page - ATMEL Corporation AT89LP51 Datasheet HTML 33Page - ATMEL Corporation AT89LP51 Datasheet HTML 34Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 113 page
background image
30
3709B–MICRO–12/10
AT89LP51/52 - Preliminary
6.4
System Clock Divider
The CDV
2-0 bits in CLKREG allow the system clock to be divided down from the selected clock
source by powers of 2. The clock divider provides users with a greater frequency range when
using the Internal Oscillator. For example, to achieve a 230.4 kHz system frequency when using
the RC oscillator, CDV
2-0 should be set to 011B for divide-by-8 operation. The divider can also
be used to reduce power consumption by decreasing the operational frequency during non-criti-
cal periods. The resulting system frequency is given by the following equation:
where f
OSC is the frequency of the selected clock source. The clock divider will prescale the clock
for the CPU and all peripherals. The value of CDV may be changed at any time without interrupt-
ing normal execution. Changes to CDV are synchronized such that the system clock will not
pass through intermediate frequencies. When CDV is updated, the new frequency will take
affect within a maximum period of 32 x t
OSC.
In Compatibility mode the divider defaults to divide-by-2 and and in Fast mode it defaults to no
division.
Note:
The reset value of CLKREG is 0000000B in Fast mode and 01010010B in Compatibility mode.
fSYS
f
OSC
2
CDV
-------------
=
Table 6-2.
CLKREG
– Clock Control Register
CLKREG = 8FH
Reset Value = 0?0? 00?0B
Not Bit Addressable
TPS3TPS2TPS1TPS0
CDV2
CDV1
CDV0
—
Bit
7
6
543
21
0
Symbol
Function
TPS[3-0]
Timer Prescaler. The Timer Prescaler selects the time base for Timer 0, Timer 1, Timer 2 and the Watchdog Timer. The
prescaler is implemented as a 4-bit binary down counter. When the counter reaches zero it is reloaded with the value
stored in the TPS bits to give a division ratio between 1 and 16. By default the timers will count every clock cycle in Fast
mode (TPS = 0000B) and every six cycles in Compatibility mode (TPS = 0101B).
CDV[2-0]
System Clock Division. Determines the frequency of the system clock relative to the oscillator clock source.
CDIV2
CDIV1
CDIV0
System Clock Frequency
000fOSC/1
001fOSC/2
010f
OSC/4
011fOSC/8
100fOSC/16
101f
OSC/32
110Reserved
111Reserved



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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