Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AT89LP51RB2 Datasheet(PDF) 46 Page - ATMEL Corporation

Part # AT89LP51RB2
Description  8-bit Microcontroller Compatible with 8051 Products
PDF  254 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP51RB2 Datasheet(HTML) 46 Page - ATMEL Corporation

Back Button AT89LP51RB2 Datasheet HTML 42Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 43Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 44Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 45Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 46Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 47Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 48Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 49Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 50Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 254 page
background image
46
3722A–MICRO–10/11
AT89LP51RB2/RC2/IC2 Preliminary
6.6.4
Registers
6.7
X1/X2 Feature
The AT89LP51RB2/RC2/IC2 includes the X1/X2 feature for compatibility with the existing
AT89C51RB2/RC2/IC2. This feature allows a divider-by-2 to be switched in/out between the
oscillator source and the main system clock. This feature is controlled by the X2 bit in CKCON0
(See Table 6-9 on page 48). When X2 = 0 the system clock is divided by two from the oscillator
source, ensuring a 50% duty cycle regardless of the cyclic ratio at the oscillator output. When
X2 = 1 the oscillator output is passed through with no division. In this case the duty cycle at the
oscillator must be between 40% and 60%. Note that the naming convention can be confusing
since X1 means divide-by-2 and X2 means divide-by-1 as shown in Table 6-7. The default state
of the X2 bit is set by the X2 User fuse (See Section 24.2 on page 188) but can always be
changed by software. This fuse is also shadowed in the X2 bit of the bootloader Hardware Secu-
rity Byte (HSB). Note that the fuse/HSB bit is inverted from the control bit in the CKCON0 SFR.
Table 6-4.
CKSEL
– Clock Selection Register
CKSEL = 85H (AT89LP51IC2 Only)
Reset Value = XXXX XXX?B
Not Bit Addressable
––
–––
––
CKS
Bit
7
6
543
21
0
Symbol
Function
CKS
Clock Select. Clear CKS to connect the system clock (CPU and peripherals) to the OSCB source. Set CKS to connect
the system clock to the OSCA source. The default state is set by the Oscillator Select user fuse. See Section 24.2 on
page 188.
Table 6-5.
OSCCON
– Oscillator Control Register
OSCCON = 86H (AT89LP51IC2 Only)
Reset Value = XXXX X0??B
Not Bit Addressable
––
–––
SCLKT0
OscBEn
OscAEn
Bit
7
6
543
21
0
Symbol
Function
SCLKT0
Sub Clock Timer 0. Clear to connect the Timer 0 counter input to T0 (P3.4). Set to connect the Timer 0 counter input to
OSCB output divided by 128. OSCB must be sourced from crystal oscillator B to use this feature.
OscBEn
OSCB Enable. Clear to power down the OSCB source. Set to enable the OSCB source. The default state is set by the
Oscillator Select user fuse. See Section 24.2 on page 188. OscBEn cannot be disabled when CKS =0. Disabling OSCB
will free the XTAL1B and XTAL2B pins for use as P1.0 and P4.2.
OscAEn
OSCA Enable. Clear to power down the OSCA source. Set to enable the OSCA source. The default state is set by the
Oscillator Select user fuse. See Section 24.2 on page 188. OscAEn cannot be disabled when CKS =1.
Table 6-6.
X1/X2 Modes
Mode
X2
(CKCON0.0)
CPU Clock
XTAL1
Duty Cycle
X2 Fuse
(HSB.X2)
X1
0
fCPU = fSYS/2
No limits
FFH (1)
X2
1
fCPU = fSYS/1
40–60%
00H (0)



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