Winbond W78C438C Manual

8-bit microcontroller
Table of Contents

Advertisement

Quick Links

GENERAL DESCRIPTION
The W78C438C is a high-performance single-chip CMOS 8-bit microcontroller that is a derivative of
the W78C58 microcontroller family. The W78C438C is functionally compatible with the W78C32,
except that it provides either a 64 KB program/1 MB data memory address or memory-mapped chip
select logic, five general I/O ports, and four external interrupts.
In the W78C32, two I/O ports, Port 1 and Port 3, are available for general-purpose use (Port 3 also
supports alternative functions), and Port 2 and Port 0 are used as the address bus and data bus,
respectively. To enable Port 0 and Port 2 to also be used as general purpose I/O ports, the
W78C438C provides two dedicated address ports (AP5 and AP6) that serve as address output for 64
KB of memory and one address/data port (DP4) that serves as ROM code input and external RAM
data input/output. Unlike the W78C32, this product does not require an external latch device for
multiplexing low byte addresses. The W78C438C also provides four pins (AP7.0−AP7.3) to support
either 64 KB program/1 MB data memory space or memory-mapped chip select logic, one parallel I/O
port (Port 8) without bit addressing mode, and two additional external interrupts ( INT2 , INT3 ) .
The W78C438C is programmed in a manner fully compatible with that used to program the W78C32,
except that the external data RAM is accessed by the "MOVX @Ri" instruction. Address paging is
performed by loading page addresses into the HB (high byte) register, which is not a standard register
in the W78C32, before execution of the "MOVX @Ri" instruction.
FEATURES
8-bit CMOS microcontroller
Fully static design
DC to 40 MHz operation
ROM-less operation
256-byte on-chip scratchpad RAM
Either 64 KB program/1 MB data memory address space or 4 memory-mapped chip select pins
One 8-bit data/address port
Two 8-bit and one 4-bit (optional) address ports
Five 8-bit bidirectional I/O ports
− Four 8-bit bit-addressable I/O ports and one 8-bit parallel I/O port
Eight-source, two-level interrupt capability
Three 16-bit timer/counters
Four external interrupts
One full-duplex serial channel
Built-in power management
− Idle mode
− Power-down mode
Packages:
− 84-pin PLCC: W78C438CP-24/40
− 100-pin PQFP: W78C438CF-24/40
8-BIT MICROCONTROLLER
- 1 -
W78C438C
Publication Release Date: July 1998
Revision A1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the W78C438C and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Winbond W78C438C

  • Page 1 To enable Port 0 and Port 2 to also be used as general purpose I/O ports, the W78C438C provides two dedicated address ports (AP5 and AP6) that serve as address output for 64 KB of memory and one address/data port (DP4) that serves as ROM code input and external RAM data input/output.
  • Page 2 W78C438C PIN CONFIGURATIONS P1.5 P0.5 P0.6 P1.6 P1.7 P0.7 RESET P8.0 AP5.0 AP5.1 P8.1 P8.2 AP5.2 P8.3 AP5.3 P8.4 AP5.4 W78C438CP P8.5 AP5.5 P8.6 AP5.6 84-pin PLCC P8.7 AP5.7 INT3 INT2 RXD, P3.0 PSEN TXD, P3.1 P2.7 P2.6 INT0, P3.2 P2.5...
  • Page 3 W78C438C Pin Configurations, continued P0.4 P1.5 P0.5 P1.6 P0.6 P1.7 P0.7 RESET P8.0 AP5.0 P8.1 AP5.1 P8.2 AP5.2 P8.3 AP5.3 P8.4 AP5.4 P8.5 W78C438CF AP5.5 P8.6 AP5.6 P8.7 100-pin PQFP AP5.7 INT3 INT2 RXD, P3.0 PSEN TXD, P3.1 P2.7 INT0, P3.2 P2.6...
  • Page 4 W78C438C PIN DESCRIPTION P0.0−P0.7 I/O Port 0 These pins function the same as those in the W78C32, except that a multiplexed address/data bus is not provided during accesses to external memory. P1.0−P1.7 I/O Port 1 Functions are the same as in the W78C32.
  • Page 5 W78C438C P8.0−P8.7 I/O Port Functions are the same as those of Port 1 in the W78C31, except that they are mapped by the P8 register and not bit-addressable. The P8 register is not a standard register in the W78C32. Its address is at 0A6H.
  • Page 6 W78C438C FUNCTIONAL DESCRIPTION The W78C438C is a functional extension of the W78C58 microcontroller. It contains a 256 × 8 RAM, 64 KB program/1 MB data memory address or memory-mapped chip select logic, two 8-bit address ports, one 8-bit data port, five general I/O ports, four external interrupts, three timers/counters, and one serial port.
  • Page 7: P1.7

    W78C438C (A) EPMA.7 = 0 EPROM ADDR (20-bit) W78C438 64K PROGRAM DATA AREA PSEN INT0 INT1 INT2 ADDR 1MB (20-bit) INT3 DATA When bit 7 of the EPMA is "1," AP7<3:0> are the output pins that support memory-mapped peripheral chip select logic, which eliminates the need for glue logic. These pins are decoded by AP6<7:6>.
  • Page 8: Reset

    Additional I/O Port The W78C438C provides one parallel I/O port, Port 8. Its function is the same as that of Port 1 in the W78C31, except that it is mapped by the P8 register and is not bit-addressable. The P8 register is not a standard register in the standard W78C32.
  • Page 9: P8.0

    7 (Lowest) Table 3. Priority of Interrupts Newly Added Special Function Registers The W78C438C uses four newly defined special function registers, which are described in Table 4. To read/write these registers, use the "MOV direct" or "read-modify-write" instructions. REGISTER ADDR.
  • Page 10: P8.1

    Note: AP7 is either 0 or a value decoded by AP6<7:6>, depending on the value of EPMA.7. Programming Difference The W78C438C is programmed in the same way as the W78C32, except that the external data RAM is accessed by a "MOVX @Ri" instruction. To support address paging, there is an additional 8-bit SFR "HB"...
  • Page 11: P8.2

    W78C438C DC CHARACTERISTICS = 5V ±10%, T = 25° C, F = 20 MHz, unless otherwise specified. DD− PARAMETER SYM. TEST CONDITIONS MIN. TYP. MAX. UNIT Oper. Voltage Oper. Current * No load Idle Current Program idle mode IDLE µA...
  • Page 12 W78C438C AC CHARACTERISTICS AC specifications are a function of the particular process used to manufacture the product, the ratings of the I/O buffers, the capacitive load, and the internal routing capacitance. Most of the specifications can be expressed in terms of multiple input clock periods (T ), and actual parts will usually experience less than a ±20 nS variation.
  • Page 13 W78C438C TIMING WAVEFORMS Program Fetch Cycle XTAL1 PSEN AP6<7:0> address AP5<7:0> DP4<7:0> code address Data Memory Read/Write Cycle XTAL1 PSEN AP7<3:0> addr <19:16> out (When bit7 of EPMA is 0.) AP6<7:0> PGM address DPH or HB SFR out AP5<7:0> PGM address DPL or Ri out DP4<7:0>...
  • Page 14: P8.5

    W78C438C TYPICAL APPLICATION CIRCUITS Using 128K × 8 bit External EPROM (W27E010) P0.4 P1.5 P0.5 P1.6 P0.6 P1.7 10 U P0.7 RESET 8.2 K P8.0 AP5.0 P8.1 AP5.1 P8.2 AP5.2 P8.3 AP5.3 P8.4 AP5.4 W27E010 P8.5 W78C438C AP5.5 P8.6 AP5.6 P8.7...
  • Page 15: Int3

    W78C438C CRYSTAL − 16 MHz − 24 MHz 33 MHz 6.8K 40 MHz 6.8K Above table shows the reference values for crystal applications. Notes: 1. For C1, C2, R components refer to Figure A. 2. It is recommended that the crystals be replaced with oscillators for applications above 35 MHz.
  • Page 16: Int2

    θ See Detail F Seating Plane Detail F Winbond Electronics (H.K.) Ltd. Winbond Electronics North America Corp. Headquarters Winbond Memory Lab. Rm. 803, World Trade Square, Tower II, No. 4, Creation Rd. III, 123 Hoi Bun Rd., Kwun Tong, Science-Based Industrial Park, Winbond Microelectronics Corp.

Table of Contents