CS8900A: CONNECTING TO NON-ISA BUS SYSTEMS ...................................................................................7
The CS8900A Architecture.............................................................................................................................7
ISA Bus ....................................................................................................................................................8
CS8900A in I/O Mode ..............................................................................................................................8
CS8900A in Memory Mode......................................................................................................................8
DMA Interface of the CS8900A................................................................................................................8
Selection of I/O, Memory and DMA Modes ....................................................................................................9
Design Example: CS8900A Interface to MC68302 ........................................................................................9
Read and Write Signals .........................................................................................................................10
SBHE Signal ..........................................................................................................................................10
Other Control Signals.............................................................................................................................10
Status Signals from CS8900A ...............................................................................................................11
Component Placement and Signal Routing........................................................................................20
Bill of Material ........................................................................................................................................20
Contacting Cirrus Logic Support
For a complete listing of Direct Sales, Distributor, and Sales Representative contacts, visit the Cirrus Logic web site at:
http://www.cirrus.com/corporate/contacts/
Crystal LAN, StreamTransfer, PacketPage, and SMART Analog are trademarks of Cirrus Logic.
Ethernet is a registered trademark of Xerox Corp.. Artisoft and LANtastic are registered trademarks of Artisoft, Inc.. Banyan and VINES are registered trademarks
of Banyan Systems.. Digital and PATHWORKS are registered trademarks of Digital Equipment Corporation.. Intel is a registered trademark of Intel Corporation..
LAN Server and IBM are registered trademarks of International Business Machines Corp.. Microsoft, LAN Manager, Windows 95, Windows for Workgroups, and
Windows NT are registered trademarks of Microsoft.. Novell and Netware are registered trademarks of Novell, Inc..
Cruz Organization, Inc
Preliminary product information describes products which are in production, but for which full characterization data is not yet available. Advance product information describes products which are in development and subject to development changes. Cirrus Logic, Inc. has made best efforts to ensure that the information
contained in this document is accurate and reliable. However, the information is subject to change without notice and is provided “AS IS” without warranty of
any kind (express or implied). No responsibility is assumed by Cirrus Logic, Inc. for the use of this information, nor for infringements of patents or other rights
of third parties. This document is the property of Cirrus Logic, Inc. and implies no license under patents, copyrights, trademarks, or trade secrets. No part of
this publication may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical, photographic, or
otherwise) without the prior written consent of Cirrus Logic, Inc. Items from any Cirrus Logic website or disk may be printed for use by the user. However, no
part of the printout or electronic files may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechanical,
photographic, or otherwise) without the prior written consent of Cirrus Logic, Inc.Furthermore, no part of this publication may be used as a basis for manufacture
or sale of any items without the prior written consent of Cirrus Logic, Inc. The names of products of Cirrus Logic, Inc. or other vendors and suppliers appearing
in this document may be trademarks or service marks of their respective owners which may be registered in some jurisdictions. A list of Cirrus Logic, Inc. trademarks and service marks can be found at http://www.cirrus.com.
.. UNIX is a registered trademark of AT&T Technologies, Inc.
Component Placement and Routing of Signals.....................................................................................27
Bill of Material ........................................................................................................................................27
Addressing the CS8900A: I/O Mode, Memory Mode ...................................................................................27
Serial EEPROM............................................................................................................................................45
CONTACTING CUSTOMER SUPPORT AT CIRRUS .......................................................................................57
Cirrus Web Site ............................................................................................................................................57
AN83REV33
AN83
SCHEMATIC CHECKLIST
Before getting into the meat of the technical reference manual here is a schematic checklist. It’s presented here, at the beginning, to help the hardware
designer implement the design quickly and easily.
-No caps across the crystal. The CS8900A
implements these internally.
-4.99K 1% resistor between pin 93 and pin 94. A
common mistake is the resistor is connected to
Vcc instead of ground.
-RESET is active high, not active low.
-Check addressing.
-On non-ISA systems, if the processor is Big
Endian, it may be beneficial to byte swap the
data lines to minimize byte swapping in
software.
-SBHE (16 bit mode) -- must be low on IO or Mem
address. And it must toggle at least once to put
the CS8900 in 16 bit mode.
-IO and Memory Accesses: SBHE, AEN, etc.
must be stable for 10ns (read) and 20ns (write)
before access.
-IOCHRDY - Generally not connected in non-ISA
bus.
-CHIPSEL (active low). Tie to ground if not using
ELCS.
-Make sure interrupt line is active high. It is best
to put a pull down (10K) on INT line since
selected IRQ line is tristated during software
initiated reset.
-ELCS should be pulled to ground or left floating
if not used.
-EEDataIn should be pulled to ground if not used.
-10Base-T circuit -- no caps on TX lines between
isolation transformer and 10 Base-T connector.
-10Base-T circuit -- no center tap caps on
isolation transformer and 10 Base-T connector.
Good to have pads, don’t populate except for
EMI problems.
-Isolation transformer -- start with one that does
not have a common mode choke. If there are
EMI considerations, then use one with common
mode choke. The pin outs are the same. For
3.3V operation, use a transformer with 1:2.5
turns ration on TX and 1:1 on RX like the Halo
TG41-2006N.
-For EMI problems, 1) add choke, 2) add center
tap caps on isolation transformer
-If using a shielded RJ45 connector, make sure
the shield pins are connected to chassis ground.
-AEN connected to ground if not using DMA.
-AEN can be used as an active low chip select if
not using DMA.
-AUI Interface -- use a 1AMP fuse. MAU can use
.5amps even better use a thermistor ("poly
switch"). Also, use a diode so can’t back-drive
from an externally powered MAU. Use a Halo
TnT integrated module to simplify 10Base2
interface.
-TX series termination resistors are R: 24.3 Ohm
1% (8 or 8.2 Ohm 1% for 3.3V)
-RX shunt termination resistor is 100 Ohm
-Put a 68pF shunt across TX on primary side
(560pF for 3.3V)
-Don’t use split analog/digital power and ground
planes.
-Void ground/power plane from transformer to
RJ45
-Put .1uF cap on each supply pin very close to
CS8900
The schematic checklist and the example connection diagrams to the Hitachi SH3, Cirrus Logic CLPS7211 and the Motorola MC68302 microprocessors should make clear the necessary the hardware
connections for a wide variety of situations.
4AN83REV3
AN83
SOFTWARE CHECKLIST
-When servicing the interrupt always read the
Interrupt Status Queue (ISQ) first. Process that
individual event before reading the ISQ again.
-Having read an ISQ event indicating a valid
recieve frame, never read the ISQ again before
either 1) reading in the entire current receive
frame or 2) issuing an explicit skip command.
Either of these actions will correctly clear that
frame from the CS8900A’s internal memory.
-Always continue reading and processing ISQ
events until reading a 0x0000 from the ISQ.
-After a software or hardware reset, always wait
until the SelfStatus register, bit 7 (INITD) is set
before reading or writing any other registers.
-Allow only one transmit in progress at any given
time. Since the chip dynamically allocates
memory between transmit and recieve frames, it
is possible to fill the internal buffers with transmit
frames. This would prevent reception.
-Don’t reinvent the wheel. Port one of the sample
drivers, if there isn’t a driver for your operating
system. You can find sample drivers at
http://www.cirrus.com/drivers/ethernet/.
AN83REV35
AN83
INTRODUCTION TO CS8900A
TECHNICAL REFERENCE MANUAL
This Technical Reference Manual provides the information which will be helpful in designing a
board using the CS8900A, programming the associated EEPROM, and installing and running the
CS8900A device drivers. It is expected that the
user of this technical reference manual will have a
general knowledge of hardware design, Ethernet,
the ISA bus, and networking software. Recommended sources of background information are:
ISA System Architecture
Anderson, Mindshare Press, 1992, ISBN 1881609-05-7
Ethernet, Building a Communication Infrastructure, by Hegering and Lapple, AddisonWesley, 1993, ISBN 0-201-62405-2
Netware Training Guide: Networking Technologies, by Debra Niedenmiller-Chaffis, New
Riders Publishing, ISBN 1-56205-363-9
by Shanley and
As shown in the Figure 1, the CS8900A requires a
minimum number of external components. The
EEPROM stores configuration information such as
interrupt number, DMA channel, I-O base address,
memory base address, and IEEE Individual Address. The EEPROM can be eliminated on a PC
motherboard if that information in stored in the system CMOS. Note also that the Boot PROM is only
needed for diskless workstations that boot DOS at
system power up, over the network. Also, the LEDs
are optional.
The hardware design considerations for both motherboards and adapter cards are discussed in
“HARDWARE DESIGN” on page 7. The EE-
PROM programming considerations are described
in “JUMPERLESS DESIGN” on page 45.
Cirrus provides a complete set of device drivers, as
discussed in “DEVICE DRIVERS AND SETUP/INSTALLATION SOFTWARE” on page 56.
The drivers reside between the networking operating system (NOS) and the CS8900A. On the
CS8900A side, the drivers understand how to pro-
ISA Bus
57
pins
EEPROM:
Stores Configuration
Information &
IEEE Address
EEPROM
Control
ISA
Bus
Logic
Media Access
Memory
Manager
Boot PROM:
Used to boot diskless
workstations.
Ethernet
processing.
RAM
Control
(MAC).
protocol
LED
Control
Boundary
Scan
Test Logic
Clock
Encoder,
Decoder
&
PLL
Power
Manage
Figure 1. Hardware Application Summary
10BASE-T
RX Filters &
Receiver
10BASE-T
TX Filters &
Transmitter
AUI
Transmitter
AUI
Collision
AUI
Receiver
10BASE-T
Transformer
AUI
Transformer
(Attachment
Unit
Interface)
6AN83REV3
AN83
Applications
Operating System Software
e.g., File Manager
Network Operating System
e.g., Novell or Microsoft
CS8900 - specific device drivers:
e.g., NDIS & ODI compatible drivers
CS8900 Registers & MemoryEEPROM
Figure 2. Software Application Summary
gram and read the CS8900A control and status registers, and how to transfer user data between the
CS8900A and the PC main memory via the ISA
bus. On the NOS side, the drivers provide the standardized services and functions required by the
NOS, and hide all details of the CS8900A hardware
from the NOS. The EEPROM device programs the
CS8900A whenever the a hardware reset occurs,
and call also store state/configuration information
for the driver.
Cirrus’s Software Driver (&U\VWDO /$1) Distribution Policy is as follows. The CS8900A developer
kit contains a single-user copy of object code which
is available only for internal testing and evaluation
purposes. This object code may not be distributed
without first signing a LICENSE FOR DISTRIBUTION OF EXECUTABLE SOFTWARE, which
may be obtained by contacting your sales representative. The LICENSE FOR DISTRIBUTION OF
EXECUTABLE SOFTWARE gives you unlimited, royalty-free rights to distribute Cirrus-provided
object code.
HARDWARE DESIGN
This section give design guidance for both embedded and adapter card designs, including recommendations for dealing with the upper ISA address lines
(LA[20:23]), choosing transformers, and laying out
the board.
AN83REV37
CS8900A: CONNECTING TO NON-ISA
BUS SYSTEMS
The CS8900A includes a direct interface to the ISA
bus. At the same time, the CS8900A offers a compact, efficient, and cost-effective, full-duplex
Ethernet solution for non-ISA architectures. The
purpose of this section is to illustrate how to interface the CS8900A to non-Intel and non ISA systems. Design examples include the MC68302,
Cirrus Logic CL-PS7211 ARM and Hitachi SH3.
The CS8900A Architecture
The CS8900A is a highly integrated Ethernet controller chip. It includes the digital logic, RAM and
analog circuitry required for an Ethernet interface.
This high level of integration allows a product designer to design an Ethernet interface in 1.5 square
inches of space on a printed circuit board. The
CS8900A has a powerful memory manager that dynamically allocates the on-chip memory between
transmit and receive functions. The on-chip memory manager performs functions in hardware that
are many times done by software. This reduces
loading on the CPU and on the bus connected to the
CS8900A. In fact, for 10 Megabit Ethernet, the
CS8900A is the highest throughput solution in the
market.
The integration of the analog transmit waveform
filtering makes it easier to design a board that will
pass EMC testing. When the analog filters are external, the PCB traces have fast edge digital waveforms coming out of the IC’s 10BASE-T
transmitter. The presence of high frequency energy
in the fast edges causes major problem during EMC
tests, such as FCC Part 15 class (B) or CISPR class
(B). The 10BASE-T signals driven out of the
th
CS8900A are internally filtered with a 5
Butterworth filter and the signals lack fast edges.
Lack of high frequency signals makes it straight
forward to design a card that meets FCC class (B)
or even CISPR class (B) requirements.
order
AN83
ISA Bus
An ISA bus is a simple, asynchronous bus that can
easily be made to interface to most synchronous or
asynchronous buses. An ISA bus has separate address and data lines as well as separate control lines
for read and write. ISA supports IO address space
of 64K bytes and Memory address space 32 Mega
bytes.
CS8900A in I/O Mode
When the CS8900A is used in an IO mode, it responds in the IO address space of the ISA. The
CS8900A responds to an IO access when
-Either of the bus IO command lines (IOR or
IOW
) is active,
-The address on bus signals SA[0:15] matches
the address in the CS8900A IO base address
register, and
-Bus signals AEN, REFRESH
and RESET are inactive.
, TEST, SLEEP
All other control signals are ignored for the IO operation.
In an IO mode, the CS8900A uses 16 bytes of IO
address space. The address map for this mode is
described in Table 4.5 in the CS8900A datasheet.
CS8900A in Memory Mode
When the CS8900A is used in memory mode, the
CS8900A responds in the memory address space of
the ISA bus. The CS8900A responds to a memory
mode access when
-The CHIPSEL pin is active,
-Either of the bus memory command lines
(MEMR
-Both of the IO command lines (IOR
are inactive,
-the address on bus signals SA[0:19] matches
the address in the CS8900A’s Memory Base
address register,
-MemoryE (Bit A) in the CS8900A’s BusCTL
(Register 17) is active and,
-Bus signals AEN, REFRESH
and RESET are inactive.
or MEMW) is active,
and IOW)
, TEST, SLEEP
In memory mode, all the internal registers of the
CS8900A can be accessed directly via memory
reads/writes. Please refer to the CS8900A
datasheet for the memory address map.
DMA Interface of the CS8900A
The CS8900A can interface to an external 16-bit
DMA channel for receive operations. A DMAmode receive operation can be selected by setting
either RxDMAOnly (bit 9) or AutoRxDMA (bit
10) in the CS8900A’s RxCFG (Register 3) register.
The CS8900A will request services of an external
DMA after a receive frame is accepted by the
CS8900A, completely received and stored in on
chip RAM of the CS8900A. The CS8900A generates a request for DMA access (DRQx) signal when
it has at least one receive frame that can be transferred to the system memory. The external DMA
channel should assert DMACK signal when it is
ready to transfer data. The DMA controller generates address for the system memory and asserts the
AEN signal. When DMACK and AEN signals are
asserted, the CS8900A provides 16 bits of frame
data for every pulse of the IOR signal. Notice that
the CS8900A ignores address on the SA address
lines for this operation. In this way the CS8900A
supports “direct mode” of operation of DMA. In
direct mode, the external DMA controller generates addresses for the system RAM, and generates
the appropriate control signals for the RAM and IO
device. The data moves directly from the IO device
to the RAM. In the case of the CS8900A, the DMA
controller generates a write signal for RAM and a
read signal for the CS8900A. The data flows directly from the CS8900A to the system RAM. The
direct mode of DMA operation is 100% more efficient than typical read-followed-by-write DMA
operation.
The length of time that the CS8900A holds the
DRQ signal active depends upon the DMABurst
(bit B) bit of the BusCTL (Register 17) register. If
the DMABurst is clear, the DRQ remains active as
8AN83REV3
AN83
long as the CS8900A contains frames completely
received. If ‘n’ words are to be transferred from the
CS8900A to the system RAM, the DRQ signal remains active until the (n-1)th word is transferred. If
the DMABurst is set, then the CS8900A deasserts
DRQ signal for 1.3 µs after every 28 µs. This option is provided so that in a system where multiple
DMA channels are operational, the DMA used for
the CS8900A will not take over the system bus for
long periods of time.
Selection of I/O, Memory and DMA Modes
The CS8900A always responds to all IO-mode requests. After any reset, the CS8900A responds to
default IO base address of 0300h. However, this
default IO address can be changed by writing a different base address into a EEPROM connected to
the CS8900A. After any reset, the CS8900A reads
the contents of the EEPROM. If the EEPROM is
found valid, then the information in the EEPROM
is used by the CS8900A to program its internal registers.
Memory mode in the CS8900A can be enabled by
programming a proper base-address value in the
Memory Base Address register and setting the
MemoryE bit. Enabling of the memory mode can
be done by software or through an EEPROM connected to the CS8900A.
In an IO mode, the CS8900A takes the minimum
space (16 bytes) in the system address space. For
systems where the address space limited, the IO
mode is a proper choice.
In the memory mode the CS8900A occupies 4K of
the address space. The software can access any of
the internal registers of the CS8900A directly. This
reduces accesses to the CS8900A by half when accessing registers.
In a system design, even if CS8900A is used in the
memory mode, the designer should make provisions for accessing the CS8900A in the IO mode.
This dual-mode access has two advantages.
1) If an EEPROM is not used in the Ethernet design, the application can address the CS8900A
in IO mode (0300h) in order to enable memory
mode.
2) When the EEPROM is used, the EEPROM is
usually blank when a board is manufactured.
The CS8900A must be accessed in IO mode in
order to program the EEPROM.
Use of DMA for receive is efficient in a multi-tasking environment where the CPU could be busy servicing several higher priority tasks before it can
service receive frames off the Ethernet wire.
Design Example: CS8900A Interface to
MC68302
In this example the CS8900A is connected to Motorola micro-controller MC68302. Please refer to
Figure 3 to check the connection of control signals
between CS8900A and Motorola’s micro-controller MC68302.
Address Generation
The MC68302 has address decode generation logic
internal to the micro-controller. It generates chip
select signals such as CS1. In this example the CS1
is used to access the CS8900A in IO as well as in
Memory mode. The behavior of the CS1 signal
from the MC68302 is governed by values programmed in the CS1 base address register and the
CS1 option register. For example, if the CS1 base
address register is programmed as 3A01h, the CS1
will have a base address of D00xxxh. The CS1 operation register controls the address range, number
of wait states (to be inserted automatically), etc. It
is recommended that the CS8900A be assigned 8K
of address space (0D00000h-0D01FFFh). Memory mode of the CS8900A is enabled with the memory base address register with a value 001000h.
The address line A12 separates IO address space
and memory address space. When A12 is low, the
CS8900A is accessed in an IO mode and when A12
is high, the CS8900A is accessed in memory mode.
AN83REV39
AN83
When the MC68302 generates address 0D00300h,
the address seen by the CS8900A will be 00300h
with one of the IO commands (IOR or IOW) active.
Similarly when the MC68302 generates address
0D01400h, the address seen by the CS8900A will
be 01400h with one of its memory commands
(MEMR or MEMW) active. For a MC68302, you
can also specify the number of wait states that
should be inserted automatically when address
space assigned to CS1 is accessed. The number of
wait states used depends upon the clock input to the
MC68302. Please do a complete timing analysis
before defining wait states.
Read and Write Signals
The combination of OR gates and an inverter
shown in Figure 3, generates IO commands (IOR,
IOW) as well as memory commands (MEMR,
MEMW) for the CS8900A. Since the CS1 gates
these signals, the IO or memory commands are not
generated unless the address on the address bus is
stable. Further, for an access in memory mode, an
IO command is not active.
SBHE Signal
The CS8900A is a 16 bit device and it should be
used as a 16 bit device. However, after a hardware
or software reset, the CS8900A behaves as an 8 bit
device. Any transition on pin SBHE places the
CS8900A into 16-bit mode. Further, for a 16-bit
access, the SBHE pin of the CS8900A must be low.
In the design example, the CPU address line A0 is
connected to SBHE. Before any access to the
CS8900A, the design must guarantee one transition
on SBHE pin.
Other Control Signals
All other control signals can be tied HIGH or
LOW. The signal REFRESH, TEST, SLEEP,
AEN should be tied inactive.
MC68302
UDS*/A0
A[1:11]
CS1*
R/W*
Interrupt
Controller
INT*
A12
CS1*
R/W*
74F04
74F04
Figure 3. Connection of CS8900A to MC68302
74F32
74F32
74F32
74F32
CS8900
SBHE*
SA0
SA [1:11]
SA12
SA[13:19]
MEMW*
IOW*
MEMR*
IOR*
INTRQ0
10AN83REV3
AN83
Status Signals from CS8900A
There are several status signals that are output from
the CS8900A, such as IOCHRDY, IOCS16,
MCS16, etc. In the most embedded designs, they
are not needed. Those pins from the CS8900A
should be left open.
Databus (SD[0:15]) Connection
All the internal registers of the CS8900A are 16 bit
wide. For all the registers, bit F of the register is access via SD15 and bit 0 of register is accessed via
SD0.
To be compatible with byte ordering with ISA bus,
the CS8900A provides the bytes received from the
Ethernet wire in the following fashion. Assume
that the data received from the Ethernet wire is 01,
02, 03, 04, 05, ... where the 01 is the first byte, 02
is the second byte and so on. When the CS8900A
transfers that data to the host CPU, the data words
are read from the CS8900A as 0201, 0403, etc. For
certain microprocessor systems, the designer may
prefer to read the data as 0102, 0304, etc. In such
a case, the databus connections to the CS8900A
can be altered by connecting the CPU databus
D[0:7] to the SD[8:15] pins of the CS8900A and
the CPU databus D[8:15] to the SD[0:7] pins of the
CS8900A. In such a case, make sure that all the
register and bit definitions in the CS8900A are also
byte swapped. Information that is normally appears
at bits [0:7] will now appear on bits [8:15], and information that usually appears on bits [8:15] will
now appear on bits [0:7].
Checklist for Signal Connections to the
CS8900A
MHz clock available in the system, it can be connected to the XTL1 (pin 97) pin of the CS8900A.
It is important that this clock be TTL or CMOS
with 40/60 duty cycle and ±50 ppm accuracy.
SBHE
CS8900A be used in 16-bit mode. After a hardware or software reset, the CS8900A comes up as
an 8-bit device. A transition on SBHE signal (pin
36) makes the CS8900A function as a 16-bit de-
vice. After this transition, the SBHE can be kept
low. For a 16-bit access of the CS8900A, the
SBHE and address line SA0 (pin 37) must be low.
Un-aligned word accesses to the CS8900A are not
supported. In a system, the SBHE line can be connected to address line SA0. In such a case, after a
hardware or software reset, do a dummy read from
an odd address to provide transition on the SBHE
line. For memory mode, there is one more alternative for the SBHE connection. For a memory mode
operation, if a CHIPSEL pin is controlled by an external chip select, the CHIPSEL can be connected
to the SBHE. In this case, after a hardware and
software reset, do a dummy access to the CS8900A
and ignore data.
signal: It is recommended that the
EEPROM Optional
The CS8900A has an interface for a serial EEPROM. Most of the networking applications use
this EEPROM to store IEEE MAC (Media Access
Control) address. Since the CS8900A supports 1 or
2 Kbits of EEPROM, the EEPROM is also used to
store information such as hardware configuration,
software driver configuration, etc. Any location in
the EEPROM can be read or written through the
CS8900A.
Please refer to the datasheet for the CS8900A for
the pin assignment and pin descriptions of various
signals discussed in this section.
Clock: There are two options for the clock connection to the CS8900A. You may connect a 20.000
MHz crystal between XTL1 (pin 97) and XTL2
(pin 98) pins of the CS8900A. Or, if there a 20
AN83REV311
You will require EEPROM if the IO address for the
CS8900A has to be other then 0300h, or the only
mode supported by the CS8900A is memory mode.
For all other cases an EEPROM is optional. However, most of the software drivers supplied by Cirrus assume that there is an EEPROM connected to
the CS8900A or driver configuration data is stored
AN83
in BIOS. If the designer intends to use Cirrus supplied drivers and does not use an EEPROM or store
driver configuration data in BIOS, then Cirrus supplied drivers must be modified by the designer.
We recommend that the system store the individual
IEEE MAC address in a non-volatile memory
somewhere in the system, and that the end-user of
the system not be allowed to create an arbitrary address. In a LAN, the existence of network nodes
that use the same MAC address will cause severe
network problems including destruction of data and
failure of various network nodes.
Design Example: CS8900A Interface to
Cirrus Logic CL-PS7211
This design is similar to the MC68302 except that
only the I/O mode data access is supported. This
completely elimiates glue logic. See Figure 4. The
highlights of the design are:
-CS8900A I/O space mapped into 7211 memory
-3 address lines
-A8 and A9 tied high
-AEN used as active low chip select
-SBHE tied to 7211 chip select
-Only 16 bit accesses
Design Example: CS8900A Interface to
Hitachi SH3
This design is almost identical to the CL-PS7211
connection diagram. It uses I/O mode only, eliminating glue logic. See Figure 5. The highlights of
the design are:
-CS8900A I/O space mapped into SH3 memory
-3 address lines - A0 is tied to ground.
-A8 and A9 tied high
-AEN used as active low chip select
-SBHE tied to SH3 chip select
-Inverter on the IRQ line.
-Only 16 bit accesses
Summary
The CS8900A can be interfaced to most non-ISA
system with very minimum or no external logic.
This allows a low cost, small size and very efficient
Ethernet solution for non-ISA systems. Cirrus
Logic will provide support for non-ISA designs,
including logic schematic review and layout review
for design engineers. Those reviews help prevent
logic errors, and help to minimize EMI emissions.
Figure 4. CS8900A Interface to Cirrus Logic CL-PS7211
AN83REV313
3.3V
AN83
SH3 A1
SH3 A2
SH3 A3
SH3 [D15:D0]
SH3 WE1#
SH3 RO#
Chip Select#
3.3V
37
SA0
38
SA1
39
SA2
40
SA3
41
SA4
42
SA5
43
SA6
44
SA7
45
SA8
46
SA9
47
SA10
48
SA11
50
SA12
51
SA13
52
SA14
53
SA15
54
SA16
58
SA17
59
SA18
60
SA19
65
SD0
66
SD1
67
SD2
68
SD3
71
SD4
72
SD5
73
SD6
74
SD7
27
SD8
26
SD9
25
SD10
24
SD11
21
SD12
20
SD13
19
SD14
18
SD15
CS8900A-CQ3
3.3V
0.1uF
9
8
10
DVSS1
DVDD1
DVSS1A
MEMW
MEMR
IOW
28296261496375343364323130351513111614
0.1uF
0.1uF
22
DVDD2
IOR
REFRESH
AEN
23
DVSS2
RESET
56
55
57
DVSS3
DVDD3
DVSS3A
MEMCS16
IOCS16
IOCHRDY
INTRQ0
INTRQ1
INTRQ2
0.1uF
89
INTRQ3
90
AVSS1
DMARQ0
DMARQ1
69
70
DVSS4
DVDD4
RXD-
RXD+
TXD-
TXD+
BSTATUS/HC1
LINKLED/HC0
LANLED
CSOUT
XTAL1
XTAL2
ELCS
CHIPSEL
SBHE
2736
0.1uF
1
DO-
DO+
DI+
CI+
93
AVSS0
DI-
CI-
RES
4.99K
84
83
80
79
82
81
92
91
88
87
78
99
100
17
97
98
510
510
8
8
100
20MHz
LED
LED
RDX-
RXD+
TXD-
560pF
TXD+
3.3V
0.1uF
0.1uF
85
AVDD1
AVDD2
DMARQ2
DMACK0
DMACK1
12
86
DMACK2
77
AVSS2
HWSLEEP
TESTSEL
76
94
AVSS3
EESK
4
95
96
AVSS4
AVDD3
EECS
EEDATAIN
EEDATAOUT
365
RESET
SH3 IRQ0
Figure 5. CS8900A Interface to Hitachi SH3
14AN83REV3
AN83
ETHERNET HARDWARE DESIGN FOR
EMBEDDED SYSTEMS AND
MOTHERBOARDS
This section describes the hardware design of a
four-layer, 10BASE-T solution intended for use on
PC motherboards, or in other embedded applications. The goal of this design is minimal board
space and minimal material cost. Therefore, a number of features (BootPROM, AUI, 10BASE-2) are
not supported in this particular PCB design. An example of this circuit is included in this technical
reference manual, and is implemented in an ISA
form factor. This same circuit can be implemented
directly on the processor PCB.
General Description
The small footprint, high performance and low cost
of the CS8900A Ethernet solution, makes the
CS8900A an ideal choice for embedded systems
like personal computer (PC) mother boards. The
very high level of integration in the CS8900A results in a very low component count Ethernet design. This makes it possible to have a complete
solution fit in an area of 1.5 square inches.
Board Design Considerations
the CS8900A to interface with variety of microprocessors directly or with the help of simple programmable logic like a PAL or a GAL.
This reference design uses the ISA adapter card
form factor. All the ISA bus connections from the
CS8900A are directly routed to the ISA connector.
The pin-out of the CS8900A is such that if the
CS8900A is placed as shown in Figures 6 and 7,
there will be almost no cross-over of the ISA signals.
External Decode Logic
The CS8900A can be accessed in I/O mode or
memory mode. For this reference design, in memory mode the CS8900A is in the conventional or
upper memory of the PC. That is, it resides in the
lower 1 Mega bytes of address space.
To use the CS8900A in extended memory address
space requires an external address decoder. This
decoder decodes upper 4 bits (LA[20:23]) of 24 bit
ISA address lines. In many embedded microprocessors such decodes are available though the microprocessors itself.
Please refer to “Extended Memory Mode” on
page 31 for further information.
Crystal Oscillator
The CS8900A, in this reference design, uses a
20.000 MHz crystal oscillator. The CS8900A has
internal loading capacitance of 18pF on the
XTAL1 and XTAL2 pins. No external loading capacitors are needed. Please note that the crystal
must be placed very close to XTL1 and XTL2 pins
of the CS8900A.
This crystal oscillator can be eliminated if accurate
clock signal (20.00 MHz ±0.01% and 45-55 duty
cycle) available in the system.
ISA Bus Interface
The CS8900A has a direct ISA bus interface. Note
that the ISA bus interface is simple enough to allow
AN83REV315
EEPROM
A 64 word (64 X16 bit) EEPROM (location U3) is
used in the reference design to interface with the
CS8900A. This EEPROM holds the IEEE assigned Ethernet MAC (physical) address for theboard (see “Obtaining IEEE Addresses” on
page 55). The EEPROM also holds other configuration information for the CS8900A. The last few
bytes of the EEPROM are used to store information
about the hardware configuration and software requirements.
In an embedded system, such as a PC, the system
CMOS RAM or any other non-volatile memory
can be used to store the IEEE address and Ethernet
configuration information. In such a case an EE-
PROM is not necessary for the CS8900A, and the
CS8900A will respond to IO addresses 0300h
through 030Fh after a reset.
Please refer to the CS8900A data sheet for information about programming the EEPROM. Please refer to “JUMPERLESS DESIGN” on page 45 of
this document for information about EEPROM internal word assignments.
LEDs
Many embedded systems do not require LEDs for
the Ethernet traffic. Therefore this reference design does not implement any LEDs. However, the
CS8900A has direct drives for the three LEDs.
Please refer to the data sheet for the CS8900A for a
description of the LED functions available on the
CS8900A.
10BASE-T Interface
The 10BASE-T interface for the CS8900A is
straight forward. Please refer to Figure 8 (3.3V)
and Figure 10 (5V) for connections and components of this circuit. Transmit and receive signal
lines from the CS8900A are connected to an isola-
tion transformer at location T1. This isolation
transformer has a 1:1 ratio between the primary and
the secondary windings on the receive side. It has
a 1:√2 (1:1.414) ratio between the primary and the
secondary windings for the transmit lines for 5V
operation or a ratio of 1:2.5 for 3.3V operation. Resistor R1 provides termination for the receive lines.
Resistors R2 and R3 are in series with the differential pair of transmit lines for impedance matching.
10BASE-2 and AUI Interfaces
As many embedded systems require only a
10BASE-T interface, this reference design implements only the 10BASE-T interface. However,
should a user require a 10BASE-2 or AUI interface, the CS8900A provides a direct interface to the
AUI. Please refer to “Low Cost Ethernet Combo
Card Reference Design: CRD8900” on page 21 of
this document for details about the AUI interface.
Logic Schematics
Figures 8, 9 and 10 detail the logic schematics for
the various circuits used in the reference design.
10BT_RD-
10BT_RD+
10BT_TD-
10BT_TD+
8
R4
8
R5
100
R2
560pF
C30
.1uF.1uF
Do Not
Populate
1
1
2
2
(1-3) (16-14) 1:1
3
3
4
4
5
5
6
6
7
(6-8) (11-9) 1:2.5
7
8
8
10BaseT Transformer
C23
16
15
14
13
12
11
10
9
16
15
14
13
12
11
10
9
.1uF 2KV
C29
Do Not
Populate
.1uF 2KV
C28
10
J21
8
7
6
5
4
3
2
1
9
Figure 8. 10BASE-T Schematic 3.3V
18AN83REV3
Loading...
+ 40 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.