Rainbow-electronics AT89LS53 Bedienungsanleitung

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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 31
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
AT89LS53
4-249
Features
Compatible with MCS-51
Products
12K Bytes of In-System Reprogrammable Downloadable Flash Memory
- SPI Serial Interface for Program Downloading
- Endurance: 1,000 Write/Erase Cycles
2.7V to 6V Operating Range
Fully Static Operation: 0 Hz to 12 MHz
Three-Level Program Memory Lock
256 x 8 bit Internal RAM
32 Programmable I/O Lines
Three 16-bit Timer/Counters
Nine Interrupt Sources
Programmable UART Serial Channel
SPI Serial Interface
Low Power Idle and Power Down Modes
Interrupt Recovery From Power Down
Programmable Watchdog Timer
Dual Data Pointer
Power Off Flag
Description
The AT89LS53 is a low-power, wide-voltage range, high-performance CMOS 8-bit
microcomputer with 12K bytes of downloadable Flash programmable and erasable
read only memory. The device is manufactured using Atmel’s high density nonvolatile
memory technology and is compatible with the industry standard 80C51 instruction
set and pinout. The on-chip downloadable Flash allows the program memory to be
reprogrammed in-system through an SPI serial interface or by a conventional nonvol-
atile memory programmer. By combining a versatile 8-bit CPU with downloadable
Flash on a monolithic chip, the Atmel AT89LS53 is a powerful microcomputer which
provides a highly flexible and cost effective solution to many embedded control appli-
cations.
The AT89LS53 provides the following standard features: 12K bytes of downloadable
Flash, 256 bytes of RAM, 32 I/O lines, programmable watchdog timer, two Data Point-
ers, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full
duplex serial port, on-chip oscillator, and clock circuitry. In addition, the AT89LS53 is
designed with static logic for operation down to zero frequency and supports two soft-
ware 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 contents but freezes the oscillator, disabling all
other chip functions until the next interrupt or hardware reset.
The downloadable Flash can be changed a single byte at a time and is accessible
through the SPI serial interface. Holding RESET active forces the SPI bus into a serial
programming interface and allows the program memory to be written to or read from
unless Lock Bit 2 has been activated.
0851B-B–12/97
8-Bit
Microcontroller
with 12K Bytes
Flash
AT89LS53
Seitenansicht 0
1 2 3 4 5 6 ... 30 31

Inhaltsverzeichnis

Seite 1 - Description

AT89LS534-249Features•Compatible with MCS-51™ Products•12K Bytes of In-System Reprogrammable Downloadable Flash Memory- SPI Serial Interface for Progr

Seite 2

AT89LS534-258Timer 0 and 1Timer 0 and Timer 1 in the AT89LS53 operate the sameway as Timer 0 and Timer 1 in the AT89C51, AT89C52 andAT89C55. For furth

Seite 3

AT89LS534-259Figure 2 shows Timer 2 automatically counting up whenDCEN = 0. In this mode, two options are selected by bitEXEN2 in T2CON. If EXEN2 = 0,

Seite 4

AT89LS534-260Figure 3. Timer 2 Auto Reload Mode (DCEN = 1)Figure 4. Timer 2 in Baud Rate Generator ModeOSCSMOD1RCLKTCLKRxCLOCKTxCLOCKT2EX PINT2 PINT

Seite 5

AT89LS534-261Baud Rate GeneratorTimer 2 is selected as the baud rate generator by settingTCLK and/or RCLK in T2CON (Table 2). Note that the baudrates

Seite 6

AT89LS534-262Programmable Clock OutA 50% duty cycle clock can be programmed to come out onP1.0, as shown in Figure 5. This pin, besides being a regu-l

Seite 7

AT89LS534-263The interconnection between master and slave CPUs withSPI is shown in the following figure. The SCK pin is theclock output in the master

Seite 8

AT89LS534-264InterruptsThe AT89LS53 has a total of six interrupt vectors: twoexternal interrupts (INT0 and INT1), three timer interrupts(Timers 0, 1,

Seite 9

AT89LS534-265Oscillator Characteristics XTAL1 and XTAL2 are the input and output, respectively,of an inverting amplifier that can be configured for us

Seite 10 - AT89LS53

AT89LS534-266Program Memory Lock BitsThe AT89LS53 has three lock bits that can be left unpro-grammed (U) or can be programmed (P) to obtain the addi-t

Seite 11

AT89LS534-2677. To verify the byte just programmed, bring pin P2.7 to “L” and read the programmed data at pins P0.0 to P0.7.8. Repeat steps 3 through

Seite 12

AT89LS534-250Pin DescriptionVCCSupply voltage.GNDGround.Port 0Port 0 is an 8-bit open drain bidirectional I/O port. As anoutput port, each pin can sin

Seite 13

AT89LS534-268Instruction SetNotes: 1. DATA polling is used to indicate the end of a write cycle which typically takes less than 10 ms at 2.7V.2. “x” =

Seite 14

AT89LS534-269Flash Parallel Programming ModesNotes: 1. “h” = weakly pulled “High” internally.2. Chip Erase and Serial Programming Fuse require a 10-ms

Seite 15

AT89LS534-270Figure 13. Programming the Flash MemoryFigure 14. Flash Serial Downloading+Figure 15. Verifying the Flash Memory

Seite 16

AT89LS534-271Flash Programming and Verification Characteristics - Parallel ModeTA = 0°C to 70°C, VCC = 5.0V ± 10%Symbol Parameter Min Max UnitsVPPProg

Seite 17

AT89LS534-272Flash Programming and Verification Waveforms - Parallel ModeSerial Downloading WaveformsSERIAL CLOCK INPUTSERIAL DATA INPUTSCK/P1.7MOSI/P

Seite 18

AT89LS534-273Absolute Maximum Ratings*Operating Temperature...-55°C to +125°C*NOTICE: Stresses beyond those listed under “Absolute

Seite 19

AT89LS534-274AC Characteristics Under operating conditions, load capacitance for Port 0, ALE/PROG, and PSEN = 100 pF; load capacitance for all otherou

Seite 20

AT89LS534-275External Program Memory Read CycleExternal Data Memory Read Cycle

Seite 21

AT89LS534-276External Data Memory Write CycleExternal Clock Drive WaveformsExternal Clock DriveSymbol ParameterVCC = 2.7V to 6.0VMin Max Units1/tCLCLO

Seite 22

AT89LS534-277Serial Port Timing: Shift Register Mode Test ConditionsThe values in this table are valid for VCC = 2.7V to 6V and Load Capacitance = 80

Seite 23

AT89LS534-251Block DiagramPORT 2 DRIVERSPORT 2LATCHP2.0 - P2.7FLASHPORT 0LATCHRAMPROGRAMADDRESSREGISTERBUFFERPCINCREMENTERPROGRAMCOUNTERDPTRINSTRUCTIO

Seite 24

AT89LS534-278AT89LS53TYPICAL ICC (IDLE) at 25°C0.00.81.62.43.24.04.804 8 12 16 20 24F (MHz)V=CCV=CC6.0V5.0VICCmAV=CC3.0VAT89LS53TYPICAL ICC (ACTIVE) a

Seite 25

AT89LS534-279Ordering InformationSpeed(MHz)PowerSupplyOrdering Code Package Operation Range12 2.7V to 6.0V AT89LS53-12ACAT89LS53-12JCAT89LS53-12PC44A4

Seite 26

AT89LS534-252Pin DescriptionFurthermore, P1.4, P1.5, P1.6, and P1.7 can be configuredas the SPI slave port select, data input/output and shiftclock in

Seite 27

AT89LS534-253XTAL1Input to the inverting oscillator amplifier and input to theinternal clock operating circuit. XTAL2Output from the inverting oscilla

Seite 28

AT89LS534-254User software should not write 1s to these unlisted loca-tions, since they may be used in future products to invokenew features. In that

Seite 29

AT89LS534-255Dual Data Pointer Registers To facilitate accessing exter-nal data memory, two banks of 16 bit Data Pointer Regis-ters are provided: DP0

Seite 30

AT89LS534-256Table 4. SPCR—SPI Control RegisterSPCR Address = D5H Reset Value = 0000 01XXBSPIE SPE DORD MSTR CPOL CPHA SPR1 SPR0Bit76543210Symbol Func

Seite 31

AT89LS534-257Data Memory - RAMThe AT89LS53 implements 256 bytes of RAM. The upper128 bytes of RAM occupy a parallel space to the SpecialFunction Regis

Kommentare zu diesen Handbüchern

Keine Kommentare