Rainbow-electronics AT89LS51 Manual de usuario Pagina 1

Busca en linea o descarga Manual de usuario para Sensores Rainbow-electronics AT89LS51. Rainbow Electronics AT89LS51 User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 29
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
1
Features
Compatible with MCS-51
®
Products
4K Bytes of In-System Programmable (ISP) Flash Memory
Endurance: 1000 Write/Erase Cycles
2.7V to 4.0V Operating Range
FullyStaticOperation:0Hzto16MHz
Three-level Program Memory Lock
128 x 8-bit Internal RAM
32 Programmable I/O Lines
Two 16-bit Timer/Counters
Six Interrupt Sources
Full Duplex UART Serial Channel
Low-power Idle and Power-down Modes
Interrupt Recovery from Power-down Mode
Watchdog Timer
Dual Data Pointer
Power-off Flag
Flexible ISP Programming (Byte and Page Mode)
Description
The AT89LS51 is a low-voltage, high-performance CMOS 8-bit microcontroller with 4K
bytes of in-system programmable Flash memory. The device is manufactured using
Atmel’s high-density nonvolatile memory technology and is compatible with the indus-
try-standard 80C51 instruction set and pinout. The on-chip Flash allows the program
memory to be reprogrammed in-system or by a conventional nonvolatile memory pro-
grammer. By combining a versatile 8-bit CPU with in-system programmable Flash on a
monolithic chip, the Atmel AT89LS51 is a powerful microcontroller which provides a
highly-flexible and cost-effective solution to many embedded control applications.
The AT89LS51 provides the following standard features: 4K bytes of Flash, 128 bytes
of RAM, 32 I/O lines, Watchdog timer, two data pointers, two 16-bit timer/counters, a
five-vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator,
and clock circuitry. In addition, the AT89LS51 is designed with static logic for operation
down to zero frequency and supports two software selectable power saving modes.
The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and
interrupt system to continue functioning. The Power-down mode saves the RAM con-
tents but freezes the oscillator, disabling all other chip functions until the next external
interrupt or hardware reset.
8-bit
Low-Voltage
Microcontroller
with 4K Bytes
In-System
Programmable
Flash
AT89LS51
Preliminary
Rev. 3053A–8051–05/02
Vista de pagina 0
1 2 3 4 5 6 ... 28 29

Indice de contenidos

Pagina 1 - Description

1Features• Compatible with MCS-51®Products• 4K Bytes of In-System Programmable (ISP) Flash Memory– Endurance: 1000 Write/Erase Cycles• 2.7V to 4.0V Op

Pagina 2

10AT89LS513053A–8051–05/02.Figure 1. Interrupt SourcesTable 4. Interrupt Enable (IE) Register(MSB) (LSB)EA – – ES ET1 EX1 ET0 EX0Enable Bit = 1 enable

Pagina 3

11AT89LS513053A–8051–05/02OscillatorCharacteristicsXTAL1 and XTAL2 are the input and output, respectively, of an inverting amplifier that can beconfig

Pagina 4

12AT89LS513053A–8051–05/02ProgramMemory LockBitsThe AT89LS51 has three lock bits that can be left unprogrammed (U) or can be programmed(P) to obtain t

Pagina 5

13AT89LS513053A–8051–05/02Ready/Busy: The progress of byte programming can also be monitored by the RDY/BSY out-put signal. P3.0 is pulled low after A

Pagina 6

14AT89LS513053A–8051–05/02Power-off sequence (if needed):Set XTAL1 to “L” (if a crystal is not used).Set RST to “L”.Turn VCCpower off.DataPolling: The

Pagina 7

15AT89LS513053A–8051–05/02Figure 4. Programming the Flash Memory (Parallel Mode)Figure 5. Verifying the Flash Memory (Parallel Mode)P1.0-P1.7P2.6P3.6P

Pagina 8

16AT89LS513053A–8051–05/02Figure 6. Flash Programming and Verification Waveforms – Parallel ModeFlash Programming and Verification Characteristics (Pa

Pagina 9

17AT89LS513053A–8051–05/02Figure 7. Flash Memory Serial DownloadingFlash Programming and Verification Waveforms – Serial ModeFigure 8. Serial Programm

Pagina 10 - AT89LS51

18AT89LS513053A–8051–05/02Note: 1. B1 = 0, B2 = 0 → Mode 1, no lock protectionB1 = 0, B2 = 1→ Mode 2, lock bit 1 activatedB1 = 1, B2 = 0→ Mode 3, lock

Pagina 11

19AT89LS513053A–8051–05/02Serial Programming CharacteristicsFigure 9. Serial Programming TimingMOSIMISOSCKtOVSHtSHSLtSLSHtSHOXtSLIVTable 9. Serial Pro

Pagina 12

2AT89LS513053A–8051–05/02Pin ConfigurationsPDIPTQFP12345678910111213141516171819204039383736353433323130292827262524232221 P1.0 P1.1P1.2P1.3P1.4(MOSI)

Pagina 13

20AT89LS513053A–8051–05/02Notes: 1. Under steady state (non-transient) conditions, IOLmust be externally limited as follows:Maximum IOLperportpin:10mA

Pagina 14

21AT89LS513053A–8051–05/02AC CharacteristicsUnder operating conditions, load capacitance for Port 0, ALE/PROG, and PSEN = 100 pF; load capacitance for

Pagina 15

22AT89LS513053A–8051–05/02External Program Memory Read CycleExternal Data Memory Read CycletLHLLtLLIVtPLIVtLLAXtPXIZtPLPHtPLAZtPXAVtAVLLtLLPLtAVIVtPXI

Pagina 16

23AT89LS513053A–8051–05/02External Data Memory Write CycleExternal Clock Drive WaveformstLHLLtLLWLtLLAXtWHLHtAVLLtWLWHtAVWLtQVWXtQVWHtWHQXA0 - A7 F

Pagina 17

24AT89LS513053A–8051–05/02Shift Register Mode Timing WaveformsAC Testing Input/Output Waveforms(1)Note: 1. AC Inputs during testing are driven at VCC-

Pagina 18

25AT89LS513053A–8051–05/02Ordering InformationSpeed(MHz)PowerSupply Ordering Code Package Operation Range16 2.7V to 4.0V AT89LS51-16ACAT89LS51-16JCAT8

Pagina 19

26AT89LS513053A–8051–05/02Packaging Information44A – TQFP 2325 Orchard Parkway San Jose, CA 95131TITLEDRAWING NO.RREV. 44A, 44-lead, 10 x 10 mm Bo

Pagina 20

27AT89LS513053A–8051–05/0244J–PLCCNotes: 1. This package conforms to JEDEC reference MS-018, Variation AC. 2. Dimensions D1 and E1 do not include mold

Pagina 21

28AT89LS513053A–8051–05/0240P6 – PDIP 2325 Orchard Parkway San Jose, CA 95131TITLEDRAWING NO.RREV. 40P6, 40-lead (0.600"/15.24 mm Wide) Plast

Pagina 22

Printed on recycled paper.3053A–8051–05/02 xM© Atmel Corporation 2002.Atmel Corporation makes no warranty for the use of its products, other than thos

Pagina 23

3AT89LS513053A–8051–05/02Block DiagramPORT 2 DRIVERSPORT 2LATCHP2.0 - P2.7FLASHPORT 0LATCHRAMPROGRAMADDRESSREGISTERBUFFERPCINCREMENTERPROGRAMCOUNTERDU

Pagina 24

4AT89LS513053A–8051–05/02Pin DescriptionVCC Supply voltage.GND Ground.Port 0 Port 0 is an 8-bit open drain bidirectional I/O port. As an output port,

Pagina 25

5AT89LS513053A–8051–05/02RST Reset input. A high on this pin for two machine cycles while the oscillator is running resets thedevice. This pin drives

Pagina 26

6AT89LS513053A–8051–05/02SpecialFunctionRegistersA map of the on-chip memory area called the Special Function Register (SFR) space is shownin Table 1.

Pagina 27

7AT89LS513053A–8051–05/02User software should not write 1s to these unlisted locations, since they may be used in futureproducts to invoke new feature

Pagina 28

8AT89LS513053A–8051–05/02Power Off Flag: The Power Off Flag (POF) is located at bit 4 (PCON.4) in the PCON SFR.POF is set to “1” during power up. It c

Pagina 29 - 3053A–8051–05/02 xM

9AT89LS513053A–8051–05/02pulse duration is 98xTOSC, where TOSC=1/FOSC. To make the best use of the WDT, itshould be serviced in those sections of code

Comentarios a estos manuales

Sin comentarios