TS87C51RB2-LIB Atmel, TS87C51RB2-LIB Datasheet
![IC MCU 8BIT 16K OTP 30MHZ 44PLCC](/photos/6/70/67043/453-44-plcc_sml.jpg)
TS87C51RB2-LIB
Specifications of TS87C51RB2-LIB
Available stocks
Related parts for TS87C51RB2-LIB
TS87C51RB2-LIB Summary of contents
Page 1
... Compare / Capture, Pulse Width Modulator, Watchdog Timer Capabilities Rev March, 2001 TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 The fully static design of the TS80C51Rx2 allows to reduce system power consumption by bringing the clock frequency down to any value, even DC, without loss of data. The TS80C51Rx2 has 2 software-selectable modes of reduced activity for further reduction in power consumption ...
Page 2
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 PDIL40 PLCC44 ROM (bytes) VQFP44 1.4 TS80C51RA2 0 TS80C51RD2 0 TS83C51RB2 16k TS83C51RC2 32k TS83C51RD2 64k TS87C51RB2 0 TS87C51RC2 0 TS87C51RD2 0 PLCC68 ROM (bytes) VQFP64 1.4 TS80C51RD2 0 TS83C51RD2 64k TS87C51RD2 0 3. Block Diagram (3) XTAL1 XTAL2 ALE/ PROG PSEN CPU EA/V PP (3) RD (3) ...
Page 3
... AUXR1 TL0 TL1 TH0 0000 0000 0000 0000 DPL DPH 0000 0000 2/A 3/B 4/C TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 5/D 6/E 7/F CCAPL3H CCAPL4H XXXX XXXX XXXX XXXX CCAPL3L CCAPL4L XXXX XXXX XXXX XXXX CCAPM3 CCAPM4 X000 0000 X000 0000 ...
Page 4
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 5. Pin Configuration P1 VCC 39 P0 P1.1 / T2EX P1.2 3 P1 P1 P1.6 P0 P1.7 P0 RST 9 32 EA/VPP P3.0/RxD 10 31 PDIL/ ALE/PROG P3.1/TxD PSEN CDIL40 P3.2/INT0 29 P3.3/INT1 P2.7 / A15 13 28 P2.6 / A14 27 P3.4/T0 14 P2.5 / A13 15 26 P3.5/T1 P2.4 / A12 P3 ...
Page 5
... VSS 9 VQFP64 TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 P5.0 59 P2.4/A12 58 P2.3/A11 57 P4.7 56 P2.2/A10 55 P2.1/A9 54 P2.0/A8 P4.6 53 NIC 52 51 VSS 50 P4.5 49 XTAL1 48 XTAL2 47 P3.7/RD 46 P4.4 45 P3.6/ P2.4/A12 P2.3/A11 P4.7 P2.2/A10 P2.1/A9 P2.0/A8 P4.6 NIC VSS P4.5 XTAL1 XTAL2 P3.7/RD P4 ...
Page 6
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Pin Number Mnemonic DIL LCC VQFP 1 Vss1 P0.0-P0.7 39-32 43-36 37-30 P1.0-P1.7 1-8 2-9 40-44 1 P2.0-P2.7 21-28 24-31 18-25 P3.0-P3.7 10-17 11, 5, 13-19 7- Type Name And Function I Ground: 0V reference I Optional Ground: Contact the Sales Office for ground connection. ...
Page 7
... Rev March, 2001 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 I Reset: A high on this pin for two machine cycles while the oscillator is running, resets the device. An internal diffused resistor to V using only an external capacitor to V time-out, the reset pin becomes an output during the time the internal reset is activated ...
Page 8
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Pin Number Mnemonic ALE/PROG PSEN EA XTAL1 XTAL2 Type Name And Function O (I) Address Latch Enable/Program Pulse: Output pulse for latching the low byte of the address during an access to external memory. In normal operation, ALE is emitted at a constant rate of 1/6 (1 mode) the oscillator frequency, and can be used for external timing or clocking ...
Page 9
... Table 2. 64/68 Pin Packages Configuration VSS VCC P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7 P3.0 P3.1 Rev March, 2001 TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 SQUARE VQFP64 PLCC68 1 ...
Page 10
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 P3.2 P3.3 P3.4 P3.5 P3.6 P3.7 RESET ALE/PROG PSEN EA/VPP XTAL1 XTAL2 P4.0 P4.1 P4.2 P4.3 P4.4 P4.5 P4.6 P4.7 P5.0 P5.1 P5.2 P5.3 P5.4 P5.5 P5.6 P5.7 10 SQUARE VQFP64 PLCC68 1 Rev March, 2001 ...
Page 11
... X2 bit is validated on XTAL1 2 rising edge to avoid glitches when switching from X2 to STD mode. Figure 2. shows the mode switching waveforms. XTAL1:2 2 XTAL1 F XTAL Rev March, 2001 state machine: 6 clock cycles. 0 CPU control 1 F OSC X2 CKCON reg Figure 1. Clock Generation Diagram TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 : 11 ...
Page 12
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 XTAL1 XTAL1:2 X2 bit CPU clock STD Mode The X2 bit in the CKCON register (See Table 3.) allows to switch from 12 clock cycles per instruction to 6 clock cycles and vice versa. At reset, the standard speed is activated (STD mode). Setting this bit activates the X2 feature (X2 mode) ...
Page 13
... Set to select 6 clock periods per machine cycle (X2 mode, F Reset Value = XXXX XXX0b Not bit addressable For further details on the X2 feature, please refer to ANM072 available on the web (http://www.atmel-wm.com) Rev March, 2001 Table 3. CKCON Register Description TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 2). OSC XTAL =F ). OSC ...
Page 14
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.2. Dual Data Pointer Register Ddptr The additional data pointer can be used to speed up code execution and reduce code size in a number of ways. The dual DPTR structure is a way by which the chip will specify the address of an external data memory location ...
Page 15
... In other words, the block move routine works the same whether DPS is '0' or '1' on entry. Observe that without the last instruction (INC AUXR1), the routine will exit with DPS in the opposite state. Rev March, 2001 TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 ; address of SOURCE ; switch data pointers ; address of DEST ; switch data pointers ; get a byte from SOURCE ...
Page 16
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.3. Expanded RAM (XRAM) The TS80C51Rx2 provide additional Bytes of ramdom access memory (RAM) space for increased data parameter handling and high level language usage. RA2, RB2 and RC2 devices have 256 bytes of expanded RAM, from 00H to FFH in external data space; ...
Page 17
... X2 mode is used) 1 ALE is active only during a MOVX or MOVC instruction Internal/External RAM (00H-FFH) access using MOVX @ Ri/ @ DPTR EXTRAM Operating Mode 0 Internal XRAM access using MOVX @ Ri/ @ DPTR 1 External data memory access TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 FFFF Special External Data Register Memory 0000 EXTRA - - - ...
Page 18
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.4. Timer 2 TS80C51RX2 The timer 2 in the 16-bit timer/counter: the count is maintained by two eight-bit timer registers, TH2 and TL2, connected in cascade controlled by T2CON register (See Table 6) and T2MOD register (See Table 7). Timer 2 operation is similar to Timer 0 and Timer 1. C/T2 selects F as the timer clock input ...
Page 19
... Determine the 16-bit reload value from the formula and enter it in RCAP2H/RCAP2L registers. Enter a 16-bit initial value in timer registers TH2/TL2. It can be the same as the reload value or a different one depending on the application. To start the timer, set TR2 run control bit in T2CON register. Rev March, 2001 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 (: mode ...
Page 20
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 It is possible to use timer baud rate generator and a clock generator simultaneously. For this configuration, the baud rates and clock frequencies are not independent since both functions use the values in the RCAP2H and RCAP2L registers. XTAL1 (: mode) T2 T2EX 20 :2 TR2 ...
Page 21
... If RCLK=1 or TCLK=1, CP/RL2# is ignored and timer is forced to auto-reload on timer 2 overflow. 0 CP/RL2# Clear to auto-reload on timer 2 overflows or negative transitions on T2EX pin if EXEN2=1. Set to capture on negative transitions on T2EX pin if EXEN2=1. Reset Value = 0000 0000b Bit addressable Rev March, 2001 Table 6. T2CON Register TCLK EXEN2 Description TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 TR2 C/T2# CP/RL2# ). OSC 21 ...
Page 22
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 T2MOD - Timer 2 Mode Control Register (C9h Bit Bit Number Mnemonic Reserved 7 - The value read from this bit is indeterminate. Do not set this bit. Reserved 6 - The value read from this bit is indeterminate. Do not set this bit. Reserved 5 - The value read from this bit is indeterminate. Do not set this bit. ...
Page 23
... X2 mode mode) PCA component External I/O Pin 16-bit Counter P1.2 / ECI 16-bit Module 0 P1.3 / CEX0 16-bit Module 1 P1.4 / CEX1 16-bit Module 2 P1.5 / CEX2 16-bit Module 3 P1.6 / CEX3 16-bit Module 4 P1.7 / CEX4 See Figure 7) TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 . The timer count source is 23 ...
Page 24
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Fosc /12 Fosc / 4 T0 OVF P1.2 CIDL Idle CF Table 8. CMOD: PCA Counter Mode Register CMOD Address 0D9H Reset value Symbol CIDL WDTE - CPS1 CPS0 ECF a. User software should not write 1s to reserved bits. These bits may be used in future 8051 family products to invoke new features ...
Page 25
... The ECF bit which when set causes an interrupt and the PCA overflow flag CF (in the CCON SFR set when the PCA timer overflows. Rev March, 2001 TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 25 ...
Page 26
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 The CCON SFR contains the run control bit for the PCA and the flags for the PCA timer (CF) and each module (Refer to Table 9). Bit CR (CCON.6) must be set by software to run the PCA. The PCA is shut off by clearing this bit. ...
Page 27
... The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function. Table 11 shows the CCAPMn settings for the various PCA functions. . Rev March, 2001 CF CR CCF4 CCF3 CCF2 IE.6 ECCFn CCAPMn.0 EC Figure 8. PCA Interrupt System TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 CCON CCF1 CCF0 0xD8 To Interrupt priority decoder IE ...
Page 28
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Table 10. CCAPMn: PCA Modules Compare/Capture Control Registers CCAPM0=0DAH CCAPM1=0DBH CCAPMn Address CCAPM2=0DCH CCAPM3=0DDH CCAPM4=0DEH Reset value Symbol - ECOMn CAPPn CAPNn MATn TOGn PWMn ECCFn a. User software should not write 1s to reserved bits. These bits may be used in future 8051 family products to invoke new features ...
Page 29
... Reset value Table 13. CCAPnL: PCA Modules Capture/Compare Registers Low CCAP0L=0EAH CCAP1L=0EBH CCAPnL Address CCAP2L=0ECH CCAP3L=0EDH CCAP4L=0EEH Reset value CH Address 0F9H Reset value CL Address 0E9H Reset value Rev March, 2001 Table 14. CH: PCA Counter High Table 15. CL: PCA Counter Low TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 ...
Page 30
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.5.1. PCA Capture Mode To use one of the PCA modules in the capture mode either one or both of the CCAPM bits CAPN and CAPP for that module must be set. The external CEX input for the module (on port 1) is sampled for a transition. ...
Page 31
... CCAPnH. Of course, the ECOM bit can still be controlled by accessing to CCAPMn register. Rev March, 2001 CCF4 CF CR CCF3 CCAPnL Match 16 bit comparator CH CL PCA counter/timer ECOMn CAPPn CAPNn MATn TOGn PWMn ECCFn CIDL WDTE TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 CCON 0xD8 CCF2 CCF1 CCF0 PCA IT RESET * CCAPMn 0xDA to 0xDE CMOD CPS1 CPS0 ECF 0xD9 31 ...
Page 32
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.5.3. High Speed Output Mode In this mode the CEX output (on port 1) associated with the PCA module will toggle each time a match occurs between the PCA counter and the module's capture registers. To activate this mode the TOG, MAT, and ECOM bits in the module's CCAPMn SFR must be set (See Figure 11). ...
Page 33
... This watchdog timer won’t generate a reset out on the reset pin. Rev March, 2001 CCAPnH Overflow CCAPnL < 8 bit comparator CL PCA counter/timer CCAPMn 0xDA to 0xDE Figure 12. PCA PWM Mode TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 “0” CEXn “1” 33 ...
Page 34
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.6. TS80C51Rx2 Serial I/O Port The serial I/O port in the TS80C51Rx2 is compatible with the serial I/O port in the 80C52. It provides both synchronous and asynchronous communication modes. It operates as an Universal Asynchronous Receiver and Transmitter (UART) in three full-duplex modes (Modes 1, 2 and 3). Asynchronous transmission and ...
Page 35
... NOTE: The multiprocessor communication and automatic address recognition features cannot be enabled in mode 0 (i.e. setting SM2 bit in SCON register in mode 0 has no effect). Rev March, 2001 Start Data byte bit Figure 14. UART Timings in Mode Start Data byte bit TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 D6 D7 Stop bit Ninth Stop bit bit 35 ...
Page 36
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.6.3. Given Address Each device has an individual address that is specified in SADDR register; the SADEN register is a mask byte that contains don’t-care bits (defined by zeros) to form the device’s given address. The don’t-care bits provide the flexibility to address one or more slaves at a time. The following example illustrates how a given address is formed. ...
Page 37
... SADEN - Slave Address Mask Register (B9h Reset Value = 0000 0000b Not bit addressable SADDR - Slave Address Register (A9h Reset Value = 0000 0000b Not bit addressable Rev March, 2001 TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 ...
Page 38
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 SCON - Serial Control Register (98h FE/SM0 SM1 SM2 Bit Bit Number Mnemonic Framing Error bit (SMOD0=1) Clear to reset the error state, not cleared by a valid stop bit Set by hardware when an invalid stop bit is detected. SMOD0 must be set to enable access to the FE bit Serial port Mode bit 0 Refer to SM1 for serial port mode selection ...
Page 39
... Reset Value = 00X1 0000b Not bit addressable Power-off flag reset value will be 1 only after a power on (cold reset). A warm reset doesn’t affect the value of this bit. Rev March, 2001 Table 17. PCON Register POF GF1 Description TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 GF0 PD IDL 39 ...
Page 40
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.7. Interrupt System The TS80C51Rx2 has a total of 7 interrupt vectors: two external interrupts (INT0 and INT1), three timer interrupts (timers 0, 1 and 2), the serial port interrupt and the PCA global interrupt. These interrupts are shown in Figure 16. WARNING: Note that in the first version of RC devices, the PCA interrupt is in the lowest priority. Thus the order in INT0, TF0, INT1, TF1 TI, TF2 or EXF2, PCA ...
Page 41
... External interrupt 0 Enable bit 0 EX0 Clear to disable external interrupt 0. Set to enable external interrupt 0. Reset Value = 0000 0000b Bit addressable Rev March, 2001 Table 18. Priority Level Bit Values IP Table 19. IE Register ET1 Description TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Interrupt Level Priority 0 (Lowest (Highest EX1 ET0 EX0 41 ...
Page 42
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 IP - Interrupt Priority Register (B8h PPC PT2 Bit Bit Number Mnemonic Reserved 7 - The value read from this bit is indeterminate. Do not set this bit. PCA interrupt priority bit 6 PPC Refer to PPCH for priority level. Timer 2 overflow interrupt Priority bit ...
Page 43
... Description PPC Priority Level 0 Lowest Highest PT2 Priority Level 0 Lowest Highest PS Priority Level 0 Lowest Highest PT1 Priority Level 0 Lowest Highest PX1 Priority Level 0 Lowest Highest PT0 Priority Level 0 Lowest Highest PX0 Priority Level 0 Lowest Highest TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 PX1H PT0H PX0H 43 ...
Page 44
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.8. Idle mode An instruction that sets PCON.0 causes that to be the last instruction executed before going into the Idle mode. In the Idle mode, the internal clock signal is gated off to the CPU, but not to the interrupt, Timer, and Serial Port functions ...
Page 45
... Rev March, 2001 PSEN PORT0 1 1 Port Data Floating 0 0 Port Data Floating TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 PORT1 PORT2 PORT3 Port Data Port Data Port Data Port Data Address Port Data Port Data Port Data Port Data Port Data Port Data Port Data 45 ...
Page 46
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.10. Hardware Watchdog Timer The WDT is intended as a recovery method in situations where the CPU may be subjected to software upset. The WDT consists of a 14-bit counter and the WatchDog Timer ReSeT (WDTRST) SFR. The WDT is by default disabled from exiting reset. To enable the WDT, user must write 01EH and 0E1H in sequence to the WDTRST, SFR location 0A6H ...
Page 47
... Idle mode. Rev March, 2001 Table 24. WDTPRG Register Description S1 S0 Selected Time-out machine cycles, 16 MHz machine cycles, 32 MHz machine cycles, 65 MHz machine cycles, 131 MHz machine cycles, 262 MHz machine cycles, 542 MHz machine cycles, 1. MHz machine cycles, 2. MHz TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 ...
Page 48
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 TM 6.11. ONCE Mode (ON Chip Emulation) The ONCE mode facilitates testing and debugging of systems using TS80C51Rx2 without removing the circuit from the board. The ONCE mode is invoked by driving certain pins of the TS80C51Rx2; the following sequence must be exercised: Pull ALE low while the device is in reset (RST high) and PSEN is high. ...
Page 49
... Reset Value = 00X1 0000b Not bit addressable Rev March, 2001 switch-on. A warm start reset occurs while V CC Table 26. PCON Register POF GF1 Description rises from 0 to its nominal voltage. Can also be set by software. CC TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 is still applied GF0 PD IDL rises 49 ...
Page 50
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 6.13. Reduced EMI Mode The ALE signal is used to demultiplex address and data buses on port 0 when used with external program or data memory. Nevertheless, during internal code execution, ALE signal is still generated. In order to reduce EMI, ALE signal can be disabled by setting AO bit. ...
Page 51
... MOVC instruction executed from external program memory returns non encrypted data. MOVC instruction executed from external program memory are disabled from fetching U code bytes from internal memory sampled and latched on reset. Same as level 1+ Verify disable. U This security level is only available for 51RDX2 devices. TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 51 ...
Page 52
... U U: unprogrammed, P: programmed WARNING: Security level 2 and 3 should only be programmed after EPROM and Core verification. 8.2.3. Signature bytes The TS87C51RB2/RC2/RD2 contains 4 factory programmed signatures bytes. To read these bytes, perform the process described in section 8.3. 52 Table 29. Program Lock bits Protection description LB3 No program lock features enabled ...
Page 53
... EPROM Programming 8.3.1. Set-up modes In order to program and verify the EPROM or to read the signature bytes, the TS87C51RB2/RC2/RD2 is placed in specific set-up modes (See Figure 18.). Control and program signals must be held at the levels indicated in Table 30. 8.3.2. Definition of terms Address Lines: P1.0-P1.7, P2.0-P2.5, P3.4, P3.5 respectively for A0-A15 (P2.5 (A13) for RB, P3.4 (A14) for RC, P3 ...
Page 54
... Code array verify must be done after each byte or block of bytes is programmed. In either case, a complete verify of the programmed array will ensure reliable programming of the TS87C51RB2/RC2/RD2. P 2.7 is used to enable data output. To verify the TS87C51RB2/RC2/RD2 code the following sequence must be exercised: Step 1: Activate the combination of program and control signals. Step 2: Input the valid address on the address lines. ...
Page 55
... If an application subjects the device to this type of exposure suggested that an opaque label be placed over the window. Rev March, 2001 Read/Verify Cycle Data In 100 s TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Data Out 2 rating for 30 minutes distance 55 ...
Page 56
... To read these bytes TS83/87C51RB2/RC2/RD2 follow the procedure for EPROM verify but activate the control lines provided in Table 31. for Read Signature Bytes. Table 31. shows the content of the signature byte for the TS87C51RB2/RC2/RD2. Location 30h ...
Page 57
... Using an internal test ROM, the following code is executed: Label: SJMP Label (80 FE) Ports are disconnected, Port 0 is tied to FFh Vcc, RST = Vss, XTAL2 is not connected and XTAL1 is driven by the clock. This is much more representative of the real operating Icc. Rev March, 2001 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 ( - - 150 ...
Page 58
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 10.3. DC Parameters for Standard Voltage + - + Table 32. DC Parameters in Standard Voltage Symbol Parameter V Input Low Voltage IL V Input High Voltage except XTAL1, RST IH V Input High Voltage, XTAL1, RST IH1 V Output Low Voltage, ports (6) Output Low Voltage, port 0 OL1 ...
Page 59
... V to 5 MHz 2 5 MHz. CC Min Typ -0.5 0 0 (6) ( (5) 90 (5) 20 (5) 10 TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Max Unit Test Conditions 3 + 0.6 Freq (MHz @12MHz 10.2 @16MHz 12.6 0.25+0.3Freq (MHz @12MHz 3.9 @16MHz 5.1 Max Unit Test Conditions 0 0 ...
Page 60
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Symbol Parameter I Power Supply Current Maximum values (7) mode: idle NOTES 1. I under reset is measured with all output pins disconnected; XTAL1 driven with 0.5V; XTAL2 N.C RST = Port Idle I is measured with all output pins disconnected; XTAL1 driven with T CC N.C ...
Page 61
... XTAL2 XTAL1 V SS Test Condition, Power-Down Mode CC V -0.5V CC 0.7V CC 0.2V -0.1 0.45V CLCH CHCL 5ns. CLCH CHCL Tests in Active and Idle Modes CC TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 All other pins are disconnected. All other pins are disconnected. All other pins are disconnected. 61 ...
Page 62
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 10.5. AC Parameters 10.5.1. Explanation of the AC Symbols Each timing symbol has 5 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 ...
Page 63
... Rev March, 2001 Table 36. Symbol Description Parameter Table 37. AC Parameters for Fix Clock - mode standard mode 30 MHz 40 MHz 60 MHz equiv. 40 MHz equiv. Min Max Min Max Min TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 -L -L Units X2 mode standard mode 20 MHz 30 MHz Max Min Max 122 ...
Page 64
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Table 38. AC Parameters for a Variable Clock: derating formula Symbol Type Standard Clock T Min LHLL T Min AVLL T Min LLAX T Max LLIV T Min LLPL T Min PLPH T Max PLIV T Min x PXIX T Max PXIZ T Max AVIV T Max x PLAZ 10.5.3. External Program Memory Read Cycle ...
Page 65
... LLDV T Address to Valid Data In AVDV T ALE LLWL T Address AVWL T Data Valid to WR Transition QVWX T Data set- High QVWH T Data Hold After WR WHQX T RD Low to Address Float RLAZ High to ALE high WHLH Rev March, 2001 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Table 39. Symbol Description Parameter TS80C51RA2/RD2 65 ...
Page 66
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Table 40. AC Parameters for a Fix Clock Speed -M 40 MHz Symbol Min Max T 130 RLRH T 130 WLWH T 100 RLDV T 0 RHDX T 30 RHDZ T 160 LLDV T 165 AVDV T 50 100 LLWL T 75 AVWL T 10 QVWX T 160 QVWH T 15 WHQX T 0 RLAZ ...
Page 67
... Min AVWL T Min QVWX T Min QVWH T Min WHQX T Max x RLAZ T Min WHLH T Max WHLH 10.5.5. External Data Memory Write Cycle ALE PSEN WR PORT 0 ADDRESS PORT 2 OR SFR-P2 Figure 26. External Data Memory Write Cycle Rev March, 2001 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 X2 Clock - ...
Page 68
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 10.5.6. External Data Memory Read Cycle ALE PSEN RD PORT 0 ADDRESS PORT 2 OR SFR-P2 Figure 27. External Data Memory Read Cycle 10.5.7. Serial Port Timing - Shift Register Mode Symbol T XLXL T QVHX T XHQX T XHDX T XHDV Table 43. AC Parameters for a Fix Clock ...
Page 69
... ALE CLOCK T QVXH OUTPUT DATA T WRITE to SBUF XHDV INPUT DATA CLEAR RI Figure 28. Shift Register Timing Waveforms Rev March, 2001 X2 Clock - 133 133 XLXL T XHQX XHDX VALID VALID VALID VALID TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 -L Units 133 SET TI VALID VALID VALID VALID SET RI 69 ...
Page 70
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 10.5.9. EPROM Programming and Verification Characteristics 0V Table 45. EPROM Programming Parameters Symbol Parameter V Programming Supply Voltage PP I Programming Supply Current PP 1/T Oscillator Frquency CLCL T Address Setup to PROG Low AVGL T PROG Adress Hold after GHAX T Data Setup to PROG Low DVGL ...
Page 71
... CC -0 CHCL CLCX T CLCL 0.2V +0.9 CC 0.2V -0 0.5 for a logic “1” and 0.45V for a logic “0”. Timing measurement CC max for a logic “0”. IL FLOAT -0 LOAD LOAD V +0.1 V LOAD Figure 32. Float Waveforms TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 Max Units CHCX T CLCH +0 ...
Page 72
... TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 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 V 10.5.15. Clock Waveforms Valid in normal clock mode mode XTAL2 signal must be changed to XTAL2 divided by two. ...
Page 73
... L: PLCC68 (RD devices only)* M: VQFP64, square package, 1.4mm (RD devices only)* N: JLCC68 (RD devices only)* Temperature Range C: Commercial Industrial - Table 47. Maximum Clock Frequency - TS80C51RA2/RD2 TS83C51RB2/RC2/RD2 TS87C51RB2/RC2/RD2 R B Conditioning R: Tape & Reel D: Dry Pack B: Tape & Reel and Dry Pack -L Unit 30 MHz 30 20 MHz 40 73 ...
Page 74
... X X RD2 only RD2 only RD2 only RD2 only RD2 only RD2 only RD2 only RD2 only RD2 only RD2 only TS87C51RB2/RC2/RD2 OTP RD2 only RD2 only RD2 only RD2 only RD2 only RD2 only RD2 only RD2 only RD2 only ...