TÀI LIỆU HAY CẦN ĐỌC

75 25 0
TÀI LIỆU HAY CẦN ĐỌC

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

P89V51RD2 8-bit 80C51 V low power 64 kB Flash microcontroller with kB RAM Rev 01 — 01 March 2004 Product data General description The P89V51RD2 is an 80C51 microcontroller with 64 kB Flash and 1024 bytes of data RAM A key feature of the P89V51RD2 is its X2 mode option The design engineer can choose to run the application with the conventional 80C51 clock rate (12 clocks per machine cycle) or select the X2 mode (6 clocks per machine cycle) to achieve twice the throughput at the same clock frequency Another way to benefit from this feature is to keep the same performance by reducing the clock frequency by half, thus dramatically reducing the EMI The Flash program memory supports both parallel programming and in serial In-System Programming (ISP) Parallel programming mode offers gang-programming at high speed, reducing programming costs and time to market ISP allows a device to be reprogrammed in the end product under software control The capability to field/update the application firmware makes a wide range of applications possible The P89V51RD2 is also In-Application Programmable (IAP), allowing the Flash program memory to be reconfigured even while the application is running Features n n n n n n n n n n n n n 80C51 Central Processing Unit V Operating voltage from to 40 MHz 64 kB of on-chip Flash program memory with ISP (In-System Programming) and IAP (In-Application Programming) Supports 12-clock (default) or 6-clock mode selection via software or ISP SPI (Serial Peripheral Interface) and enhanced UART PCA (Programmable Counter Array) with PWM and Capture/Compare functions Four 8-bit I/O ports with three high-current Port pins (16 mA each) Three 16-bit timers/counters Programmable Watchdog timer (WDT) Eight interrupt sources with four priority levels Second DPTR register Low EMI mode (ALE inhibit) TTL- and CMOS-compatible logic levels P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core n n Brown-out detection Low power modes u Power-down mode with external interrupt wake-up u Idle mode PDIP40, PLCC44 and TQFP44 packages n Ordering information Table 1: Ordering information Type number Package Version Name Description P89V51RD2FA PLCC44 plastic leaded chip carrier; 44 leads SOT187-2 P89V51RD2FBC TQFP44 plastic thin quad flat package; 44 leads SOT376-1 P89V51RD2BN PDIP40 plastic dual in-line package; 40 leads SOT129-1 3.1 Ordering options Table 2: Ordering options Type number Temperature range Frequency P89V51RD2FA - 40 °C to +85 °C to 40 MHz P89V51RD2FBC - 40 °C to +85 °C P89V51RD2BN °C to +70 °C © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core Block diagram HIGH PERFORMANCE 80C51 CPU 64 kB CODE FLASH UART INTERNAL BUS kB DATA RAM SPI PORT TIMER TIMER PORT TIMER PCA PROGRAMMABLE COUNTER ARRAY PORT PORT WATCHDOG TIMER CRYSTAL OR RESONATOR OSCILLATOR 002aaa506 Fig P89V51RD2 block diagram © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core Pinning information 40 P0.3/AD3 41 P0.2/AD2 42 P0.1/AD1 43 P0.0/AD0 44 VCC NC P1.0/T2 P1.1/T2EX P1.2/ECI P1.3/CEX0 P1.4/SS/CEX1 5.1 Pinning CEX2/MOSI/P1.5 39 P0.4/AD4 CEX3/MISO/P1.6 38 P0.5/AD5 CEX4/SCK/P1.7 37 P0.6/AD6 RST 10 36 P0.7/AD7 RXD/P3.0 11 35 EA P89V51RD2FA NC 12 34 NC A12/P2.4 28 A11/P2.3 27 29 P2.5/A13 A10/P2.2 26 T1/P3.5 17 A9/P2.1 25 30 P2.6/A14 A8/P2.0 24 T0/P3.4 16 NC 23 31 P2.7/A15 VSS 22 INT1/P3.3 15 XTAL1 21 32 PSEN XTAL2 20 INT0/P3.2 14 RD/P3.7 19 33 ALE/PROG WR/P3.6 18 TXD/P3.1 13 002aaa810 Fig PLCC44 pin configuration © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core handbook, halfpage 40 VDD T2/P1.0 39 P0.0/AD0 ECI/P1.2 38 P0.1/AD1 CEX0/P1.3 37 P0.2/AD2 CEX1/SS/P1.4 36 P0.3/AD3 CEX2/MOSI/P1.5 35 P0.4/AD4 CEX3/MISO/P1.6 34 P0.5/AD5 CEX4/SCK/P1.7 33 P0.6/AD6 RST 32 P0.7/AD7 RXD/P3.0 10 TXD/P3.1 11 INT0/P3.2 12 P89V51RD2BN T2EX/P1.1 31 EA 30 ALE/PROG 29 PSEN INT1/P3.3 13 28 P2.7/A15 T0/P3.4 14 27 P2.6/A14 T1/P3.5 15 26 P2.5/A13 WR/P3.6 16 25 P2.4/A12 RD/P3.7 17 24 P2.3/A11 XTAL2 18 23 P2.2/A10 XTAL1 19 22 P2.1/A9 VSS 20 21 P2.0/A8 002aaa811 Fig PDIP40 pin configuration © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 of 75 P89V51RD2 Philips Semiconductors 34 P0.3/AD3 35 P0.2/AD2 36 P0.1/AD1 37 P0.0/AD0 38 VDD 39 NC 40 P1.0/T2 41 P1.1/T2EX 42 P1.2/ECI 43 P1.3/CEX0 44 P1.4/SS/CEX1 8-bit microcontrollers with 80C51 core CEX2/MOSI/P1.5 33 P0.4/AD4 CEX3/MISO/P1.6 32 P0.5/AD5 CEX4/SCK/P1.7 31 P0.6/AD6 RST 30 P0.7/AD7 RXD/P3.0 29 EA NC TXD/P3.1 27 ALE/PROG INT0/P3.2 26 PSEN INT1/P3.3 25 P2.7/A15 T0/P3.4 10 24 P2.6/A14 T1/P3.5 11 23 P2.5/A13 A12/P2.4 22 A11/P2.3 21 28 NC A10/P2.2 20 A9/P2.1 19 A8/P2.0 18 NC 17 VSS 16 XTAL1 15 XTAL2 14 RD/P3.7 13 WR/P3.6 12 P89V51RD2FBC 002aaa812 Fig TQFP44 pin configuration © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core 5.2 Pin description Table 3: P89V51RD2 pin description Symbol Pin Type Description Port 0: Port is an 8-bit open drain bi-directional I/O port Port pins that have ‘1’s written to them float, and in this state can be used as high-impedance inputs Port is also the multiplexed low-order address and data bus during accesses to external code and data memory In this application, it uses strong internal pull-ups when transitioning to ‘1’s Port also receives the code bytes during the external host mode programming, and outputs the code bytes during the external host mode verification External pull-ups are required during program verification or as a general purpose I/O port DIP40 TQFP44 PLCC44 P0.0 to P0.7 39-32 37-30 43-36 I/O P1.0 to P1.7 1-8 40-44, 1-3 2-9 I/O with Port 1: Port is an 8-bit bi-directional I/O port with internal pull-up internal pull-ups The Port pins are pulled high by the internal pull-ups when ‘1’s are written to them and can be used as inputs in this state As inputs, Port pins that are externally pulled LOW will source current (IIL) because of the internal pull-ups P1.5, P1.6, P1.7 have high current drive of 16 mA Port also receives the low-order address bytes during the external host mode programming and verification P1.0 40 I/O T2: External count input to Timer/Counter or Clock-out from Timer/Counter P1.1 41 I T2EX: Timer/Counter capture/reload trigger and direction control P1.2 42 I ECI: External clock input This signal is the external clock input for the PCA P1.3 43 I/O CEX0: Capture/compare external I/O for PCA Module Each capture/compare module connects to a Port pin for external I/O When not used by the PCA, this pin can handle standard I/O P1.4 44 I/O SS: Slave port select input for SPI CEX1: Capture/compare external I/O for PCA Module P1.5 I/O MOSI: Master Output Slave Input for SPI CEX2: Capture/compare external I/O for PCA Module P1.6 I/O MISO: Master Input Slave Output for SPI CEX3: Capture/compare external I/O for PCA Module P1.7 I/O SCK: Master Output Slave Input for SPI CEX4: Capture/compare external I/O for PCA Module © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core Table 3: P89V51RD2 pin description…continued Symbol Pin Type Description 24-31 I/O with internal pull-up Port 2: Port is an 8-bit bi-directional I/O port with internal pull-ups Port pins are pulled HIGH by the internal pull-ups when ‘1’s are written to them and can be used as inputs in this state As inputs, Port pins that are externally pulled LOW will source current (IIL) because of the internal pull-ups Port sends the high-order address byte during fetches from external program memory and during accesses to external Data Memory that use 16-bit address (MOVX@DPTR) In this application, it uses strong internal pull-ups when transitioning to ‘1’s Port also receives some control signals and a partial of high-order address bits during the external host mode programming and verification 5, 7-13 11, 13-19 I/O with internal pull-up Port 3: Port is an 8-bit bidirectional I/O port with internal pull-ups Port pins are pulled HIGH by the internal pull-ups when ‘1’s are written to them and can be used as inputs in this state As inputs, Port pins that are externally pulled LOW will source current (IIL) because of the internal pull-ups Port also receives some control signals and a partial of high-order address bits during the external host mode programming and verification 10 11 I RXD: serial input port P3.1 11 13 O TXD: serial output port P3.2 12 14 I INT0: external interrupt input P3.3 13 15 I INT1: external interrupt input P3.4 14 10 16 I T0: external count input to Timer/Counter P3.5 15 11 17 I T1: external count input to Timer/Counter P3.6 16 12 18 O WR: external data memory write strobe P3.7 17 13 19 O RD: external data memory read strobe PSEN 29 26 32 I/O Program Store Enable: PSEN is the read strobe for external program memory When the device is executing from internal program memory, PSEN is inactive (HIGH) When the device is executing code from external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory A forced HIGH-to-LOW input transition on the PSEN pin while the RST input is continually held HIGH for more than 10 machine cycles will cause the device to enter external host mode programming RST 10 I Reset: While the oscillator is running, a HIGH logic state on this pin for two machine cycles will reset the device If the PSEN pin is driven by a HIGH-to-LOW input transition while the RST input pin is held HIGH, the device will enter the external host mode, otherwise the device will enter the normal operation mode DIP40 TQFP44 PLCC44 P2.0 to P2.7 21-28 18-25 P3.0 to P3.7 10-17 P3.0 © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core Table 3: P89V51RD2 pin description…continued Symbol Pin Type Description 35 I External Access Enable: EA must be connected to VSS in order to enable the device to fetch code from the external program memory EA must be strapped to VDD for internal program execution However, Security lock level will disable EA, and program execution is only possible from internal program memory The EA pin can tolerate a high voltage of 12 V 27 33 I/O Address Latch Enable: ALE is the output signal for latching the low byte of the address during an access to external memory This pin is also the programming pulse input (PROG) for flash programming Normally the ALE[1] is emitted at a constant rate of 1Ô the crystal frequency[2] and can be used for external timing and clocking One ALE pulse is skipped during each access to external data memory However, if AO is set to ‘1’, ALE is disabled - 6, 17, 28, 39 1, 12, 23, 34 I/O No Connect XTAL1 19 15 21 I Crystal 1: Input to the inverting oscillator amplifier and input to the internal clock generator circuits XTAL2 18 14 20 O Crystal 2: Output from the inverting oscillator amplifier VDD 40 38 44 I Power supply VSS 20 16 22 I Ground DIP40 TQFP44 PLCC44 EA 31 29 ALE/ PROG 30 NC [1] [2] ALE loading issue: When ALE pin experiences higher loading (>30 pF) during the reset, the microcontroller may accidentally enter into modes other than normal working mode The solution is to add a pull-up resistor of kW to 50 kW to VDD, e.g., for ALE pin For 6-clock mode, ALE is emitted at 1Ô of crystal frequency © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core Special function registers Remark: Special Function Registers (SFRs) accesses are restricted in the following ways: • User must not attempt to access any SFR locations not defined • Accesses to any defined SFR locations must be strictly for the functions for the SFRs • SFR bits labeled ‘-’, ‘0’ or ‘1’ can only be written and read as follows: – ‘-’ Unless otherwise specified, must be written with ‘0’, but can return any value when read (even if it was written with ‘0’) It is a reserved bit and may be used in future derivatives – ‘0’ must be written with ‘0’, and will return a ‘0’ when read – ‘1’ must be written with ‘1’, and will return a ‘1’ when read © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 10 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core Table 63: Reliability characteristics Symbol Parameter Minimum specification Units Test method NEND[1] endurance 10,000 cycles JEDEC Standard A117 TDR[1] data retention 100 years JEDEC Standard A103 ILTH[1] latch up 100 + IDD mA JEDEC Standard 78 [1] This parameter is measured only for initial qualification and after a design or process change that could affect this parameter Table 64: AC conditions of test[1] Input rise/fall time 10 ns Output load CL = 100 pf [1] See Figure 35 and Figure 37 Table 65: Recommended system power-up timings Symbol Parameter Minimum Unit TPU-READ[1] Power-up to read operation 100 m s TPU-WRITE[1] Power-up to write operation 100 m s [1] This parameter is measured only for initial qualification and after a design or process change that could affect this parameter Table 66: Pin impedance (VDD = 3.3 V, Tamb = 25 °C, f = MHz, other pins open) Parameter Description Test condition Maximum Unit CI/O[1] I/O pin capacitance VI/O = V 15 pF CIN input capacitance VIN = V LPIN pin inductance [1] [1] pF nH This parameter is measured only for initial qualification and after a design or process change that could affect this parameter © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data 12 20 Rev 01 — 01 March 2004 61 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core 10 Static characteristics Table 67: DC electrical characteristics Tamb = °C to +70 °C or - 40 °C to +85 °C; VDD = 4.5 V to 5.5 V; VSS = V Symbol Parameter Conditions Min Max Unit VIL LOW-level input voltage 4.5 V < VDD < 5.5 V - 0.5 0.2VDD - 0.1 V VIH HIGH-level input voltage 4.5 V < VDD < 5.5 V 0.2VDD + 0.9 VDD + 0.5 V VIH1 HIGH-level input voltage (XTAL1, RST) 4.5 V < VDD < 5.5 V 0.7VDD VDD + 0.5 V VOL LOW-level output voltage (ports 1.5, VDD = 4.5 V; IOL = 16 mA 1.6, 1.7) - 1.0 V VOL LOW-level output voltage (ports 1, 2, VDD = 4.5 V 3)[1] IOL = 100 m A - 0.3 V IOL = 1.6 mA - 0.45 V IOL = 3.5 mA - 1.0 V VOL1 VOH VOH1 LOW-level output voltage (Port 0, ALE, PSEN)[1][3] HIGH-level output voltage (ports 1, 2, 3, ALE, PSEN)[4] HIGH-level output voltage (Port in External Bus Mode)[4] VDD = 4.5 V IOL = 200 m A - 0.3 V IOL = 3.2 mA - 0.45 V IOH = -10 m A VDD - 0.3 - V IOH = -30 m A VDD - 0.7 - V IOH = -60 m A VDD - 1.5 - V IOH = -200 m A VDD - 0.3 - V IOH = -3.2 mA VDD - 0.7 - V 3.85 4.15 V VDD = 4.5 V VDD = 4.5 V VBOD brown-out detection voltage IIL logic input current (ports 1, 2, 3) VIN = 0.4 V - - 75 m A ITL logic 1-to-0 transition current (ports 1, 2, 3)[5] VIN = V - - 650 m A ILI input leakage current (Port 0) 0.45 V < VIN < VDD - 0.3 V - ±10 m A RRST RST pull-down resistor 40 225 kW @ MHz, Tamb = 25 °C - 15 pF @ 12 MHz - 11.5 mA @ 40 MHz - 50 mA @ 12 MHz - 8.5 mA @ 40 MHz - 42 mA Tamb = °C to +70 °C - 80 m A Tamb = - 40 °C to +85 °C - 90 m A capacitance[6] CIO pin IDD power supply current active mode idle mode Power-down mode (min VDD = V) [1] Under steady state (non-transient) conditions, IOL must be externally limited as follows: a) Maximum IOL per 8-bit port: 26 mA b) Maximum IOL total for all outputs: 71 mA c) If IOL exceeds the test condition, VOH may exceed the related specification Pins are not guaranteed to sink current greater than the listed test conditions © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 62 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core [2] [3] [4] [5] [6] Capacitive loading on Ports and may cause spurious noise to be superimposed on the VOLs of ALE and Ports and The noise due to external bus capacitance discharging into the Port and pins when the pins make 1-to-0 transitions during bus operations In the worst cases (capacitive loading > 100 pF), the noise pulse on the ALE pin may exceed 0.8 V In such cases, it may be desirable to qualify ALE with a Schmitt Trigger, or use an address latch with a Schmitt Trigger STROBE input Load capacitance for Port 0, ALE and PSEN = 100 pF, load capacitance for all other outputs = 80 pF Capacitive loading on Ports and may cause the VOH on ALE and PSEN to momentarily fall below the VDD - 0.7 specification when the address bits are stabilizing Pins of Ports 1, and source a transition current when they are being externally driven from to The transition current reaches its maximum value when VIN is approximately V Pin capacitance is characterized but not tested EA = 25 pF (max) 50 Maximum Active IDD IDD (mA) 40 30 Maximum Idle IDD 20 Typical Active IDD 10 Typical Idle IDD 10 15 20 25 30 35 40 Internal Clock Frequency (MHz) 002aaa813 Fig 29 IDD vs frequency © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 63 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core 11 Dynamic characteristics Table 68: AC characteristics Over operating conditions: load capacitance for Port 0, ALE, and PSEN = 100 pF; load capacitance for all other outputs = 80 pF Tamb = °C to +70 °C or - 40 °C to +85 °C; VDD = 4.5 V to 5.5 V @ 40 MHz; VSS = V Symbol Parameter 40 MHz (X1 mode) 20 MHz (X2 mode)[1] Variable Unit Min Max Min Max 1/TCLCL X1 Mode oscillator frequency 40 40 MHz 1/2TCLCL X2 Mode oscillator frequency 20 20 MHz tLHLL ALE pulse width 35 - 2TCLCL - 15 - ns tAVLL address valid to ALE LOW 10 - TCLCL - 15 - ns tLLAX address hold after ALE LOW 10 - TCLCL - 15 - ns tLLIV ALE LOW to valid instruction in - 55 - 4TCLCL - 45 ns tLLPL ALE LOW to PSEN LOW 10 - TCLCL - 15 - ns tPLPH PSEN pulse width 60 - TCLCL - 15 - ns tPLIV PSEN LOW to valid instruction in - 25 - 3TCLCL - 50 ns tPXIX input instruction hold after PSEN - - - ns tPXIZ input instruction float after PSEN - 10 - TCLCL - 15 ns tPXAV PSEN to address valid 17 - TCLCL - - ns tAVIV address to valid instruction in - 65 - 5TCLCL - 60 ns tPLAZ PSEN LOW to address float - 10 - 10 ns tRLRH RD pulse width 120 - 6TCLCL - 30 - ns tWLWH write pulse width (WR) 120 - 6TCLCL - 30 - ns tRLDV RD LOW to valid data in - 75 - 5TCLCL - 50 ns tRHDX data hold after RD - - ns tRHDZ data float after RD - 38 - 2TCLCL - 12 ns tLLDV ALE LOW to valid data in - 150 - 8TCLCL - 50 ns tAVDV address to valid data in - 150 - 9TCLCL - 75 ns tLLWL ALE LOW to RD or WR LOW 60 90 3TCLCL - 15 3TCLCL + 15 ns tAVWL address to RD or WR LOW 70 - 4TCLCL - 30 - ns tWHQX data hold after WR - TCLCL - 20 - ns tQVWH data valid to WR HIGH 125 - 7TCLCL - 50 - ns tRLAZ RD LOW to address float - - ns tWHLH RD to WR HIGH to ALE HIGH 10 40 TCLCL - 15 TCLCL + 15 ns [1] Calculated values are for X1 mode only © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 64 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core 11.1 Explanation of symbols Each timing symbol has characters The first character is always a ‘T’ (stands for time) The other characters, depending on their positions, stand for the name of a signal or the logical status of that signal The following is a list of all the characters and what they stand for A — Address C — Clock D — Input data H — Logic level HIGH I — Instruction (program memory contents) L — Logic level LOW or ALE P — PSEN Q — Output data R — RD signal T — Time V — Valid W — WR signal X — No longer a valid logic level Z — High impedance (Float) Example: TAVLL = Time from Address Valid to ALE LOW TLLPL = Time from ALE LOW to PSEN LOW tLHLL ALE tAVLL tLLIV tLLPL tPLPH tPLIV PSEN tPXAV tPLAZ tLLAX tPXIZ tPXIX PORT A0 - A7 INSTR IN A0 - A7 tAVIV PORT A8 - A15 A8 - A15 002aaa548 Fig 30 External program memory read cycle © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 65 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core tLHLL ALE tWHLH PSEN tWLWH tLLWL WR tLLAX tWHQX tAVLL tQVWH PORT A0-A7 FROM RI or DPL DATA OUT A0-A7 FROM PCL INSTR IN tAVWL PORT P2[7:0] or A8-A15 FROM DPH A8-A15 FROM PCH 002aaa549 Fig 31 External data memory read cycle tLHLL ALE tWHLH PSEN tWLWH tLLWL WR tLLAX tWHQX tAVLL tQVWH PORT A0-A7 FROM RI or DPL DATA OUT A0-A7 FROM PCL INSTR IN tAVWL PORT P2[7:0] or A8-A15 FROM DPH A8-A15 FROM PCH 002aaa550 Fig 32 External data memory write cycle Table 69: External clock drive Symbol Parameter Oscillator Unit 40 MHz 1/TCLCL oscillator frequency tCLCL tCHCX high time Variable Min Max Min Max - - 40 MHz 25 - - - ns 8.75 - 0.35TCLCL 0.65TCLCL ns © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 66 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core Table 69: External clock drive…continued Symbol Parameter Oscillator Unit 40 MHz Variable Min Max Min Max 8.75 - 0.35TCLCL 0.65TCLCL tCLCX low time tCLCH rise time - 10 - - ns tCHCL fall time - 10 - - ns VDD - 0.5 ns 0.7VDD tCHCX 0.2 VDD - 0.1 0.45 V tCLCX tCLCH tCLCL tCHCL 002aaa551 Fig 33 External clock drive waveform Table 70: Serial port timing Symbol Parameter Oscillator Unit 40 MHz Variable Min Max Min Max tXLXL serial port clock cycle time 0.3 - 12tCLCL - m s tQVXH output data set-up to clock rising edge 117 - 10tCLCL - 133 - ns tXHQX output data hold after clock rising edge - 2tCLCL - 50 - ns tXHDX input data hold after clock rising edge - - ns tXHDV clock rising edge to input data valid - 117 - 10tCLCL - 133 ns INSTRUCTION ALE tXLXL CLOCK tXHQX tQVXH OUTPUT DATA WRITE TO SBUF INPUT DATA tXHDX tXHDV VALID VALID VALID SET TI VALID VALID VALID VALID VALID SET R I CLEAR RI 002aaa552 Fig 34 Shift register mode timing waveforms © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 67 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core VIHT VHT VLT VILT Note: VHT- VHIGH Test VLT- VLOW Test VIHT-VINPUT HIGH Test VILT- VINPUT LOW Test 002aaa553 AC inputs during testing are driven at VIHT (VDD - 0.5 V) for logic and VILT (0.45 V) for a logic Measurement reference points for inputs and outputs are at VHT (0.2VDD + 0.9) and VLT (0.2VDD - 0.1) Fig 35 AC testing input/output test waveform VLOAD + 0.1V VOH - 0.1V Timing Reference Points VLOAD VOL + 0.1V VLOAD - 0.1V 002aaa554 For timing purposes, a port pin is no longer floating when a 100 mV change from load voltage occurs, and begins to float when a 100 mV change from the loaded VOH/VOL level occurs IOH/IOL = ± 20 mA Fig 36 Float waveform to tester to DUT CL 002aaa555 Fig 37 Test load example © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 68 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core VDD VDD P0 VDD RST CLOCK SIGNAL VDD IDD EA XTAL2 XTAL1 VSS (NC) 002aaa556 All other pins disconnected Fig 38 IDD test condition, active mode VDD VDD IDD VDD P0 RST CLOCK SIGNAL EA XTAL2 XTAL1 VSS (NC) 002aaa557 All other pins disconnected Fig 39 IDD test condition, idle mode VDD = V VDD VDD IDD VDD P0 RST (NC) EA XTAL2 XTAL1 VSS 002aaa558 All other pins disconnected Fig 40 IDD test condition, Power-down mode © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 69 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core 12 Package outline seating plane DIP40: plastic dual in-line package; 40 leads (600 mil) SOT129-1 ME D A2 L A A1 c e Z w M b1 (e 1) b MH 21 40 pin index E 20 10 mm scale DIMENSIONS (inch dimensions are derived from the original mm dimensions) UNIT A max A1 A2 max b b1 c mm 4.7 0.51 1.70 1.14 0.53 0.38 0.36 0.23 52.5 51.5 inches 0.19 0.02 0.16 0.067 0.045 0.021 0.015 0.014 0.009 2.067 2.028 D e e1 L ME MH w Z (1) max 14.1 13.7 2.54 15.24 3.60 3.05 15.80 15.24 17.42 15.90 0.254 2.25 0.56 0.54 0.1 0.6 0.14 0.12 0.62 0.60 0.69 0.63 0.01 0.089 (1) E (1) Note Plastic or metal protrusions of 0.25 mm (0.01 inch) maximum per side are not included REFERENCES OUTLINE VERSION IEC JEDEC JEITA SOT129-1 051G08 MO-015 SC-511-40 EUROPEAN PROJECTION ISSUE DATE 99-12-27 03-02-13 Fig 41 PDIP40 package outline © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 70 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core TQFP44: plastic thin quad flat package; 44 leads; body 10 x 10 x 1.0 mm SOT376-1 c y X A 33 23 34 22 ZE e E HE A A2 w M (A 3) A1 q bp pin index Lp L detail X 12 44 11 ZD e v M A w M bp D B HD v M B 2.5 mm scale DIMENSIONS (mm are the original dimensions) UNIT A max A1 A2 A3 bp c D (1) E (1) e mm 1.2 0.15 0.05 1.05 0.95 0.25 0.45 0.30 0.18 0.12 10.1 9.9 10.1 9.9 0.8 HD HE 12.15 12.15 11.85 11.85 L Lp v w y 0.75 0.45 0.2 0.2 0.1 Z D(1) Z E(1) 1.2 0.8 1.2 0.8 q o 0o Note Plastic or metal protrusions of 0.25 mm maximum per side are not included REFERENCES OUTLINE VERSION IEC SOT376-1 137E08 JEDEC JEITA EUROPEAN PROJECTION ISSUE DATE 00-01-19 02-03-14 MS-026 Fig 42 TQFP44 package outline © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 71 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core PLCC44: plastic leaded chip carrier; 44 leads SOT187-2 eD eE y X 39 A 29 28 40 bp ZE b1 w M 44 E HE pin index A A4 A1 e (A 3) β 18 Lp k detail X 17 e v M A ZD D B HD v M B 10 mm scale DIMENSIONS (mm dimensions are derived from the original inch dimensions) A4 A1 UNIT A A3 D(1) E(1) e eD eE HD bp b1 max 4.57 4.19 mm 0.51 0.180 inches 0.02 0.165 0.53 0.33 0.81 0.66 HE k 16.66 16.66 16.00 16.00 17.65 17.65 1.22 1.27 16.51 16.51 14.99 14.99 17.40 17.40 1.07 0.25 3.05 0.01 0.021 0.032 0.656 0.656 0.05 0.12 0.013 0.026 0.650 0.650 0.63 0.59 0.63 0.59 Lp v w y 1.44 1.02 0.18 0.18 0.1 ZD(1) ZE(1) max max 2.16 β 2.16 45 o 0.695 0.695 0.048 0.057 0.007 0.007 0.004 0.085 0.085 0.685 0.685 0.042 0.040 Note Plastic or metal protrusions of 0.25 mm (0.01 inch) maximum per side are not included REFERENCES OUTLINE VERSION IEC JEDEC JEITA SOT187-2 112E10 MS-018 EDR-7319 EUROPEAN PROJECTION ISSUE DATE 99-12-27 01-11-14 Fig 43 PLCC44 package outline © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 72 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core 13 Revision history Table 71: Revision history Rev Date 01 20040301 CPCN Description - Product data (9397 750 12964) © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 73 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core 14 Data sheet status Level Data sheet status[1] Product status[2][3] Definition I Objective data Development This data sheet contains data from the objective specification for product development Philips Semiconductors reserves the right to change the specification in any manner without notice II Preliminary data Qualification This data sheet contains data from the preliminary specification Supplementary data will be published at a later date Philips Semiconductors reserves the right to change the specification without notice, in order to improve the design and supply the best possible product III Product data Production This data sheet contains data from the product specification Philips Semiconductors reserves the right to make changes at any time in order to improve the design, manufacturing and supply Relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN) [1] Please consult the most recently issued data sheet before initiating or completing a design [2] The product status of the device(s) described in this data sheet may have changed since this data sheet was published The latest information is available on the Internet at URL http://www.semiconductors.philips.com [3] For data sheets describing multiple type numbers, the highest-level product status determines the data sheet status 15 Definitions 16 Disclaimers Short-form specification — The data in a short-form specification is extracted from a full data sheet with the same type number and title For detailed information see the relevant data sheet or data handbook Life support — These products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury Philips Semiconductors customers using or selling these products for use in such applications so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application Limiting values definition — Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 60134) Stress above one or more of the limiting values may cause permanent damage to the device These are stress ratings only and operation of the device at these or at any other conditions above those given in the Characteristics sections of the specification is not implied Exposure to limiting values for extended periods may affect device reliability Application information — Applications that are described herein for any of these products are for illustrative purposes only Philips Semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or modification Right to make changes — Philips Semiconductors reserves the right to make changes in the products - including circuits, standard cells, and/or software - described or contained herein in order to improve design and/or performance When the product is in full production (status ‘Production’), relevant changes will be communicated via a Customer Product/Process Change Notification (CPCN) Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no licence or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified Contact information For additional information, please visit http://www.semiconductors.philips.com For sales office addresses, send e-mail to: sales.addresses@www.semiconductors.philips.com Product data Fax: +31 40 27 24825 © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Rev 01 — 01 March 2004 74 of 75 P89V51RD2 Philips Semiconductors 8-bit microcontrollers with 80C51 core Contents 3.1 5.1 5.2 7.1 7.1.1 7.1.2 7.1.3 7.1.4 7.2 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.2.6 7.2.7 7.3 7.3.1 7.3.2 7.3.3 7.3.4 7.4 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 7.5 7.5.1 7.5.2 7.5.3 7.5.4 7.5.5 7.5.6 7.5.7 7.5.8 7.5.9 7.6 7.6.1 7.6.2 7.7 7.8 General description Features Ordering information Ordering options Block diagram Pinning information Pinning Pin description Special function registers 10 Functional description 14 Memory organization 14 Flash program memory 14 Data RAM memory 14 Expanded data RAM addressing 14 Dual data pointers 17 Flash memory In-Application Programming 18 Flash organization 18 Boot block 18 Power-On reset code execution 19 In-System Programming (ISP) 19 Using the In-System Programming 19 Using the serial number 23 In-Application Programming method 23 Timers/counters and 25 Mode 26 Mode 27 Mode 27 Mode 28 Timer 28 Capture mode 30 Auto-reload mode (up or down counter) 31 Programmable clock-out 32 Baud rate generator mode 33 Summary of baud rate equations 34 UARTs 35 Mode 35 Mode 35 Mode 35 Mode 35 Framing error 36 More about UART mode 36 More about UART modes and 37 Multiprocessor communications 37 Automatic address recognition 38 Serial peripheral interface 39 SPI features 39 SPI description 40 Watchdog timer 42 Programmable Counter Array (PCA) 43 © Koninklijke Philips Electronics N.V 2004 Printed in the U.S.A All rights are reserved Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice No liability will be accepted by the publisher for any consequence of its use Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights Date of release: 01 March 2004 Document order number: 9397 750 12964 7.8.1 7.8.2 7.8.3 7.8.4 7.8.5 7.9 7.10 7.10.1 7.10.2 7.10.3 7.10.4 7.11 7.11.1 7.11.2 7.12 7.12.1 PCA capture mode 16-bit software timer mode High speed output mode Pulse width modulator mode PCA Watchdog timer Security Bit Reset Power-on Reset Software reset Brown-out detection reset Interrupt priority and polling sequence Power-saving modes Idle mode Power-down mode System clock and clock options Clock Input Options and Recommended Capacitor Values for Oscillator 7.12.2 Clock doubling option Limiting values Recommended operating conditions 10 Static characteristics 11 Dynamic characteristics 11.1 Explanation of symbols 12 Package outline 13 Revision history 14 Data sheet status 15 Definitions 16 Disclaimers 47 48 49 50 50 51 51 52 53 53 53 56 57 57 58 58 59 60 60 62 64 65 70 73 74 74 74 ... Package Version Name Description P89V51RD2FA PLCC44 plastic leaded chip carrier; 44 leads SOT187-2 P89V51RD2FBC TQFP44 plastic thin quad flat package; 44 leads SOT376-1 P89V51RD2BN PDIP40 plastic dual... 2: Ordering options Type number Temperature range Frequency P89V51RD2FA - 40 °C to +85 °C to 40 MHz P89V51RD2FBC - 40 °C to +85 °C P89V51RD2BN °C to +70 °C © Koninklijke Philips Electronics N.V... OSCILLATOR 002aaa506 Fig P89V51RD2 block diagram © Koninklijke Philips Electronics N.V 2004 All rights reserved 9397 750 12964 Product data Rev 01 — 01 March 2004 of 75 P89V51RD2 Philips Semiconductors

Ngày đăng: 02/03/2020, 16:57

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan