參數(shù)資料
型號: 89LS8252
廠商: Atmel Corp.
英文描述: 8-Bit Microcontroller with 8K Bytes Flash
中文描述: 8位具有8K字節(jié)的閃存,微控制器
文件頁數(shù): 14/31頁
文件大?。?/td> 470K
代理商: 89LS8252
AT89LS8252
4-150
Programmable Clock Out
A 50% duty cycle clock can be programmed to come out on
P1.0, as shown in Figure 5. This pin, besides being a regu-
lar I/0 pin, has two alternate functions. It can be pro-
grammed to input the external clock for Timer/Counter 2 or
to output a 50% duty cycle clock ranging from 61 Hz to 3
MHz at a 12 MHz operating frequency.
To configure the Timer/Counter 2 as a clock generator, bit
C/T2 (T2CON.1) must be cleared and bit T2OE (T2MOD.1)
must be set. Bit TR2 (T2CON.2) starts and stops the timer.
The clock-out frequency depends on the oscillator fre-
quency and the reload value of Timer 2 capture registers
(RCAP2H, RCAP2L), as shown in the following equation.
In the clock-out mode, Timer 2 rollovers will not generate
an interrupt. This behavior is similar to when Timer 2 is
used as a baud-rate generator. It is possible to use Timer 2
as a baud-rate generator and a clock generator simulta-
neously. Note, however, that the baud-rate and clock-out
frequencies cannot be determined independently from one
another since they both use RCAP2H and RCAP2L.
UART
The UART in the AT89LS8252 operates the same way as
the UART in the AT89C51, AT89C52 and AT89C55. For
further information, see the October 1995 Atmel Microcon-
troller Data Book, page 2-49, section titled, “Serial Inter-
face.”
Serial Peripheral Interface
The serial peripheral interface (SPI) allows high-speed syn-
chronous data transfer between the AT89LS8252 and
peripheral devices or between several AT89LS8252
devices. The AT89LS8252 SPI features include the follow-
ing:
Full-Duplex, 3-Wire Synchronous Data Transfer
Master or Slave Operation
1.5-MHz Bit Frequency (max.)
LSB First or MSB First Data Transfer
Four Programmable Bit Rates
End of Transmission Interrupt Flag
Write Collision Flag Protection
Wakeup from Idle Mode (Slave Mode Only)
Clock-Out Frequency
65536
RCAP2H,RCAP2L
(
4
)
[
]
×
------------------------------------------------------------------------------------------
=
Figure 6.
SPI Block Diagram
OSCILLATOR
8/16-BIT SHIFT REGISTER
READ DATA BUFFER
P
SPI CONTROL
SPI STATUS REGISTER
SPI INTERRUPT
REQUEST
INTERNAL
DATA BUS
SELECT
SPI CLOCK (MASTER)
DIVIDER
÷4÷16÷64÷128
SPI CONTROL REGISTER
8
8
8
S
W
S
MSTR
SPE
S
CLOCK
LOGIC
CLOCK
MSB
S
M
S
D
M
C
C
S
S
M
S
D
LSB
S
M
M
S
MISO
P1.6
MOSI
P1.5
SCK
1.7
SS
P1.4
S
相關(guān)PDF資料
PDF描述
89LV55 8-Bit Microcontroller with 20K Bytes Flash
89S8252 8-Bit Microcontroller with 8K Bytes Flash
8M052489 8m Class DC to AC Inverter
8T26A 8-Channel, 10-Bit ADC with I2C Compatible Interface in 20-Lead TSSOP; Package: TSSOP; No of Pins: 20; Temperature Range: Industrial
8T95 8-Channel, 10-Bit ADC with I2C Compatible Interface in 20-Lead TSSOP; Package: TSSOP; No of Pins: 20; Temperature Range: Industrial
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
89LV1632 制造商:MAXWELL 制造商全稱:Maxwell Technologies 功能描述:16 Megabit (512K x 32-Bit) Low Voltage MCM SRAM
89LV1632RPQE-30 制造商:MAXWELL 制造商全稱:Maxwell Technologies 功能描述:16 Megabit (512K x 32-Bit) Low Voltage MCM SRAM
89LV1632RPQH-30 制造商:MAXWELL 制造商全稱:Maxwell Technologies 功能描述:16 Megabit (512K x 32-Bit) Low Voltage MCM SRAM
89LV1632RPQI-30 制造商:MAXWELL 制造商全稱:Maxwell Technologies 功能描述:16 Megabit (512K x 32-Bit) Low Voltage MCM SRAM
89LV1632RPQK-30 制造商:MAXWELL 制造商全稱:Maxwell Technologies 功能描述:16 Megabit (512K x 32-Bit) Low Voltage MCM SRAM