PRODUCTS
   SUPPORT
   COMPANY INFO
   PARTNERS
   TRANSLATION
   SOCIAL MEDIA
  
AN-002: Replacement Notes for Obsolete 8-bit Microprocessors
Comparison of 6502, W65C02S, R65C02, R65102, R65C112 and G65SC02

The following parts are pin compatible in a 40 pin DIP and 44 pin PLCC.
  • 6502 (WDC)
  • R65C02, R6502 (Rockwell)
  • G65SC02 (GTE)
The W65C02S (40 pin DIP) pin differences are as follows:

PIN COMPARISON CHART
Pin W65C02S 6502 R65C02 R65C102 R65C112 G65SC02
1 VPB VSS VSS VSS VSS VSS
3 PHI1O Ø1(OUT) Ø1(OUT) Ø4(OUT) NC Ø1(OUT)
5 MLB NC NC MLB MLB NC
35 NC NC NC XTLO NC NC
36 BE NC NC BE BE NC
37 PHI2 Ø2(IN) ØO(IN) XTLI Ø2(IN) ØO(IN)
39 PHI2O Ø2(OUT) Ø2(OUT) Ø2(OUT) NC Ø2(OUT)


VPB is Vector Pull (output) pin goes low when an interrupt vector is on the address bus.

MLB is Memory Lock (output) pin goes low during specific cycles of a read-modify-write instruction to indicate when memory should not be accessed.

BE is Bus Enable (input) When Bus Enable goes low this forces the Address bus, Data bus and R.W to a high impedance state.  This pin requires a pull-up resistor to VDD.

The W65C02S is mostly pin compatible by cutting the trace to pin 1 and adding the pull-up on pin 36 and pin 2 (for W65C02S6T only).

The W65C02S8PL ( 44 pin PLCC) has the same additional pin functions as the DIP version.  In addition pin NUMBERS have changed, i.e. W65C02S (PLCC) pin 9 is VDD, pin 9 on the other PLCC parts in a NC.  This package is not pin compatible since almost all pin numbers have changed.

The 6502, R6502, and G65SC02 all use the exact same instruction set.  The W65C02S and R65C02 use the same set of instructions except the W65C02S has WAI and STP.  The WAI instruction was added for improved interrupt response time and low power.  The STP instruction can help to conserve power.

The latest W65C02S6T devices (wafers manufactured at TSMC) no longer have the internal pull-up on the RDY pin (pin 2 PDIP, pin 3 PLCC, pin 41 QFP).


SIGNAL DESCRIPTIONS:

Clock Signals (R65C02)

The R65C02 requires an external ØO clock.  ØO is a TTL level input that is used to generate the internal clocks of the R65C02.  Two full level output clocks are generated by the R65C02.  The Ø2 clock is in phase with ØO.  The  Ø1 clock output is 180° out of phase with  ØO.  When the input clock is stopped, the CPU is in the standby mode.  

For non-critical timing configurations, a simple RC or crystal network may be strapped between  ØO (IN) and  Ø1 (OUT).

Clock Signals (R65C102)

The R65C102 internal clocks may be generated by a TTL level single phase input, and RC time base input, or a crystal time base input (÷ 4) using the XTLO and XTLI input pins.  Two full level output clocks are generated by the R65C102.  The  Ø2 clock output provides timing for external R/W operations.  Addresses are valid after the address setup time (tADS) referenced to the falling edge of  Ø2 (OUT).  The  Ø4 output is a quadrature output clock that is delayed from the falling edge of the  Ø2 clock by delay time tAVS.  Using the Ø4 clock, addresses are valid at the rising edge of Ø4.

Clock Signals (R65C112) (W65C02S)

All internal clock signals for the R65C112 and W65C02S are generated by the input clock signal Ø2 (IN).  Since this device is intended to be operated in the slave mode it does not have internal clock generation, but rather requires the external clock Ø2 (IN) from a host device.

FAMILY COMPARISON CHART
Feature R65C02 R65C102 R65C112 W65C02S
Pin compatible with NMOS R65C02 X      
64K addressable bytes of memory X X X X
IRQ interrupt X X X X
On-chip clock oscillator X X    
External clock only     X X
TTL level single phase clock input X X    
RC time base clock input X X    
Crystal time base clock input X X    
Single phase clock input     X X
Two phase output clock        
SYNC and RDY signals X X X X
Bus Enable (BE) signal   X X X
Memory Lock (ML) output signal   X X X
Direct Memory Access (DMA) capacity   X X X
NMI interrupt signal X X X X


G65C02PEI vs. W65C02SPL
PIN G65SC02PEI W65C02SPL
1 VSS VSS
2 NC VPB
3 RDY RDY
4 PHI1O PHI1O
5 IRQB IRQB
6 NC MLB
7 NMIB NMIB
8 SYNC SYNC
9 NC VDD
10 VDD A0
11 A0 A1
12 A1 NC
13 A2 A2
14 A3 A3
15 A4 A4
16 A5 A5
17 A6 A6
18 A7 A7
19 A8 A8
20 A9 A9
21 A10 A10
22 A11 A11
23 VSS VSS
24 NC VSS
25 A12 A12
26 A13 A13
27 A14 A14
28 A15 A15
29 D7 D7
30 D6 D6
31 D5 D5
32 D4 D4
33 D3 D3
34 D2 D2
35 D1 D1
36 D0 D0
37 RWB VDD
38 NC RWB
39 NC NC
40 NC BE
41 PHI2 PHI2
42 SOB SOB
43 PHI2O PHI2O
44 RESB RESB


Comments

1. The gray cells are used show differences in the pins.
2. Pin 40 (BE) on the W65C02SPL is an input and must be held high or driven for use in the system. If it is allowed to float it will cause problems because the buffers may get turned off if it goes low.
  

©2003 - 2010 The Western Design Center, Inc.
2166 E. Brown Rd. Mesa, Arizona 85213
phone: 480 962-4545, fax: 480 835-6442

Website produced by The Western Design Center, Inc.
Last updated 8/29/2011
Current date 02.04.2012
Time 12:39 AM