background image

Z183 EMAC Board

User Manual

7

UM008301-0401

Interrupt Selection

Select the interrupt for EMAC service by placing the JP4 jumper in the
appropriate position.

JP4: 1-2 /INT0
JP4: 3-4 /INT1
JP4: 5-6 /INT2

Make sure there is only one jumper inserted in the JP4 jumper stack. It is
recommended that you use rising edge trigger mode of interrupts with the
CS8900A. INT0 cannot be used with edge triggering.

Address Jumpers

The EMAC board also has a 3x3 address routing jumper array. These jumpers
should always be in the A15, A14, and A13 position.

Software Development

CS8900A Address Map

The CS8900A EMAC controller chip should be accessed in 16-bit mode at a
base I/O mapped address of 2300H in the EMAC board’s 64K I/O address
space. The board actually uses a 2000H – 3FFFH range of I/O address map
even though the Ethernet chip is tightly decoded at 2300H – 230FH I/O
locations.

When specifying the “PacketPage” addresses via the on-chip PacketPage
pointer, use the normal addresses specified in the CS8900A manual. Only the
primary “external bus visible” register space is shifted from a default base
address of 300H-30FH to the new 2300H-230FH range.

All buffering required for Ethernet packet transmission and reception is done
on-chip by the CS8900A.

EMAC Hardware Reset

The EMAC hardware employs a latching type of reset logic. When power is
applied or when the RESET button on the EMAC board is pressed, the board
goes into a reset state. The reset gets released when the first/IORD active low
pulse occurs in the 2000H-3FFFH range. This means that the initialization code
for the EMAC driver must make a dummy read at an I/O location in this range.
For example, from Debug Monitor reading an I/O location using a “I” command
at 2000H is adequate.

Содержание Z183 EMAC

Страница 1: ...RS 910 E HAMILTON AVENUE CAMPBELL CA 95008 USA PHONE 1 408 558 8500 FAX 1 408 558 8300 WWW ZILOG COM User Manual Revision 1 UM008301 0401 10 Base T Ethernet Media Access Controller Add On Board for th...

Страница 2: ...described is intended to suggest possible uses and may be superseded ZiLOG INC DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION DEVICES OR TECHNOLOGY DESCRIBED...

Страница 3: ...Kit Contents 1 Configuring the Z183 Evaluation Board 1 Installing the EMAC Board 5 Interrupt Cabling 6 Interrupt Selection 7 Address Jumpers 7 Software Development 7 CS8900A Address Map 7 Device Drive...

Страница 4: ...Z183 EMAC Board User Manual iv UM008301 0401...

Страница 5: ...se items contact your local sales office One EMAC board labeled 10 Base T interface Interrupt wiring cable assembly Z183 EMAC Board User Manual Configuring the Z183 Evaluation Board To configure the Z...

Страница 6: ...Z183 EMAC Board User Manual 2 UM008301 0401 4 Select a name for your connection and click OK 5 When the Connect To window appears click Cancel...

Страница 7: ...C Board User Manual 3 UM008301 0401 6 In the Hyperterminal window pull down the FILE menu and select PROPERTIES 7 In the Connect Using field find the port that your serial cable is connected to and se...

Страница 8: ...Z183 EMAC Board User Manual 4 UM008301 0401 8 Click the Configure button and configure the screen as shown below Then click OK to return to the Hyperterminal window...

Страница 9: ...he EMAC board so that the components are facing upward 3 Make sure the Z183 board is turned off 4 Place the EMAC board s 50 pin J1 socket header directly over the J22 pin header of the Z183 board The...

Страница 10: ...1 Using the Debug Monitor send an I command to Input I O byte at 2000h When the I O port 2000h is read the Ethernet MAC chip on the EMAC board comes out of hardware reset condition 12 When the LINK LE...

Страница 11: ...ge of I O address map even though the Ethernet chip is tightly decoded at 2300H 230FH I O locations When specifying the PacketPage addresses via the on chip PacketPage pointer use the normal addresses...

Страница 12: ...r chain management that may be required The argument i available to your code is a bit mask indicating the receive error conditions applicable to the frame that you can now retrieve using a ReceivePkt...

Страница 13: ...ntry and a similar amount of instructions on exit are executed with a DI general master interrupt disable instruction The transmit and receive function callbacks are issued with all other general inte...

Страница 14: ...to accept broadcast frames CRCerrorA Specify to accept frames even with CRC errors RuntA Specify to accept frames that are less than 64 bytes long ExtradataA Specify to accept frames larger than 1518...

Страница 15: ...ransmitting an outbound queue int ReceivePkt EMACFRAME databuff This function retrieves a received frame into the user buffer that databuff points to You must ensure that the buffer at databuff contai...

Страница 16: ...d as arguments return values in function calls by the user program The driver does not assume any queuing or buffer chaining User programs higher level drivers or protocol stacks should manage buffers...

Страница 17: ...d contains the destination address of the packet and examining Flags indicates the Rx Filter criteria by which this packet has been accepted by the MAC SrcAddr For a transmit operation the three word...

Страница 18: ...GND D4 A17 SD10 10BT_RDN SD4 RESET_HIGH D0 A10 IORD A14 A9 D0 RESET D4 A15 INT1 SD12 SD5 SD13 D6 D7 SD7 SD15 A0 GND INT2 AM0 A17 RAMRD AM1 A18 INT0 D2 A16 GND A2 GND A11 ROMWR ROMRD NMI RESET Y1 20Mh...

Отзывы: