Rainbow-electronics AT89LS51 Bedienungsanleitung Seite 1

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Sensoren Rainbow-electronics AT89LS51 herunter. Rainbow Electronics AT89LS51 User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 29
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 0
1 2 3 4 5 6 ... 28 29

Inhaltsverzeichnis

Seite 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

Seite 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

Seite 3

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 8

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

Seite 9

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

Seite 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

Seite 11

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

Seite 12

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

Seite 13

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

Seite 14

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

Seite 15

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

Seite 16

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

Seite 17

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

Seite 18

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

Seite 19

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

Seite 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

Seite 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

Seite 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

Seite 23

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

Seite 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,

Seite 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

Seite 26

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

Seite 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

Seite 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

Seite 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

Kommentare zu diesen Handbüchern

Keine Kommentare