|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
80C03 4-1 md400121/c 1 80C03 autoduplex tm cmos ethernet data link controller features n low power cmos technology n optimized for embedded ethernet applications n meets ansi/ieee 802.3 and iso 8802-3 standards for ethernet (10base-5) thin net (10base-2) (10base-t) and twisted pair n 10 mhz serial/parallel conversion n preamble generation and removal n automatic 32-bit fcs (crc) generation and checking n collision handling, transmission deferral and retransmission with automatic jam and backoff functions n error interrupt and status generation n available as ethernet core for custom asic applications n single 5 v 10% power supply n standard cpu and peripheral interface control signals n loopback capability for diagnostics n single phase clock n inputs and outputs ttl compatible functional block diagram 96253 n compatible with seeq 8003 and provides additional features - 64 bit multicast filter - transmit collision counter - total collision counter - reports status of carrier and sqe during transmits - transmit no crc mode - transmit no preamble mode - transmit packet autopadding mode - receive crc mode - receive own transmit disable mode - group address mode - fast receive discard mode - full duplex mode n supports autoduplex mode for automatic full duplex operation provides 20 mbits/sec bandwidth for switched networks n 40 pin dip package, 44 pin plcc autoduplex is a trademark of seeq technology inc. encoder interface data interface rxtxd (0 ?7) rxrdy 16-byte receive fifo receive counter csn rxc decoder interface serial /parallel parallel /serial 16-byte transmit fifo crc stripper crc checker address checker receive bit control pla receive byte control clock drivers rxd txc reset control register file a2 a1 a0 int r x dc t x ret command/ status interface m u x interrupt and control cdst (0 ?7) wr rd cs txd coll txen transmit byte control transmit byte counter attempt counter backoff controller crc generator txrdy rxrd rxtxeof txwr note: check for latest data sheet revision before starting any designs. seeq data sheets are now on the web, at www.lsilogic.com. this document is an lsi logic document. any reference to seeq technology should be considered lsi logic.
80C03 4-2 md400121/c 2 description the seeq ethernet data link controller (edlc ? ) is designed to support data link layer (layer 2) of the ethernet specification for local area networks (lan). the system interface is optimized for ease of connection to commonly available dma controllers and specifically for burst mode operation. the 80C03 interfaces di- rectly to the 8023a and 8020 manchester code convert- ers (mcc tm ) to complete the station resident ethernet functions. the protocol used is carrier sense, multiple access with collision detection (csma/cd). the 80C03 edlc chip is a single vlsi device which is designed to greatly simplify the development of ethernet communica- tion in computer based systems. the 80C03 provides an economic solution for the construction of an ethernet node, providing high speed data communication at 10 megabits/second and sees applications in terminals, workstations, personal computers, small business sys- tems, and large computer systems, in both the office and industrial environment. the 80C03 edlc chip has a universal system interface compatible with almost any microprocessor, microcomputer, or system bus, allowing the system designer to make the price/performance tradeoffs for each application. the transmit and receive sections of the edlc chip are independent and can operate simultaneously to allow reception of a transmitted frame for use in loopback diagnostics modes. the 80C03 is compatible with seeq 8003 and provides additional programmable features. the features enabled on demand are: 64 bit multicast filter, transmit collision counter, total collision counter, status reporting of carrier and sqe during transmits, transmit no crc, transmit no preamble, transmit packet autopadding, receive crc, receive own transmit disable, receive group address mode, fast receive discard mode, and full duplex mode. functional description frame format on an ethernet communication network, information is transmitted and received in packets or frames. an eth- ernet frame consists of a preamble, two address fields, a byte-count field, a data field and a frame check sequence (fcs). each field has a specific format which is described in detail below. an ethernet frame has a minimum length of 64 bytes and a maximum length of 1518 bytes exclusive of the preamble. the ethernet frame format is shown below. note: field length in bytes in parentheses. figure 1. dual-in-line top view mcc is a trademarks of seeq technology inc. edlc is a registered trademark of seeq technology inc. figure 2. plastic leaded chip carrier top view 6 5 4 3 2 1 44 43 42 41 40 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 39 38 37 36 35 34 33 32 31 30 29 cdst 1 cdst 0 cdst 2 cdst 3 cdst 4 cdst 5 cdst 6 cdst 7 rxc aduplx* rxtx d0 txret txd txen a0 a1 cc v a2 wr rd cs v ss txrdy rxtx eof rxrdy rxd csn int rxdc coll rxrd reset v ss rxtxd5 rxtxd3 rxtxd7 txwr rxtxd4 rxtxd6 rxtxd2 rxtxd1 txc v ss v ss a1 a0 txen txd 1 2 3 4 5 6 7 8 9 10 11 12 40 39 38 37 36 35 34 33 32 31 30 29 v cc a2 wr rd 13 14 15 16 17 18 19 20 28 27 26 25 24 23 22 21 v ss txret rxtxd0 rxtxd1 rxtxd2 rxtxd3 rxtxd4 rxtxd5 rxtxd6 rxtxd7 txc txwr txrdy rxtxeof rxrd rxrdy cdst0 cdst1 cdst2 cdst3 cdst4 cdst5 cdst6 cdst7 cs rxc rxd csn int coll reset rxdc preamble (8) destination address (6) source address (6) byte count (2) data (46-1500) fcs (4) ethernet frame 80C03 4-3 md400121/c 3 first byte last byte destination address (6 bytes) source address (6 bytes) byte count (2 bytes) data (46 ?1500 bytes) a7 a15 a23 a31 a39 a47 b7 b15 b23 b31 b39 b47 t7 t15 d7 a0 a8 a16 a24 a32 a40 b0 b8 b16 b24 b32 b40 t0 t8 d0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . figure 3. typical frame buffer format for byte-organized memory edlc chip encapsulates these fields into an ethernet frame by inserting a preamble prior to these information fields and appending a crc after the information fields. the chip can be programmed to exclude inclusion of the preamble and/or the fcs from the transmit data stream. in this case it is assumed that the preamble and fcs are provided as part of the data written to the chip. transmission initiation/deferral the ethernet node initiates a transmission by storing the entire information content of the frame to be transmitted in an external buffer memory, and then transferring initial frame bytes to the edlc transmit fifo. transmit-buffer to fifo transfers are coordinated via the txwr and txrdy handshake interface, i.e., bytes are written to the bit name pin no. rxtxd0 rxtxd1 rxtxd2 rxtxd3 rxtxd4 rxtxd5 rxtxd6 rxtxd7 6 7 8 9 10 11 12 13 preamble first byte sixth byte a0 . . . a7 a8 . . . a15 . . . . . . a40 . . . a47 source address . . . destination address bits within a byte transmitted/received bit no. "0" first through bit no. "7" last. . . . preamble: the preamble is a 64-bit field consisting of 62 alternating 1s and 0s followed by a 11 end-of-pre- amble indicator. destination address: the destination address is a 6- byte field containing either a specific station address, a broadcast address, or a multicast address to which this frame is directed. source address: the source address is a 6-byte field containing the specific station address from which this frame originated. byte-count field: the byte-count field consists of two bytes providing the number of valid data bytes in the data field, 46 to 1500. this field is uninterpreted at the data link layer, and is passed through the edlc chip to be handled at the client layer. data field: the data field consists of 46 to 1500 bytes of information which are fully transparent in the sense that any arbitrary sequence of bytes may occur. frame check sequence: the frame check sequence (fcs) field is a 32-bit cyclic redundancy check (crc) value computed as a function of the destination address field, source address field, type field and data field. the fcs is appended to each transmitted frame, and used at reception to determine if the received frame is valid. transmitting the transmit data stream consists of the preamble, four information fields, and the fcs which is computed in real time by the edlc chip and automatically appended to the frame at the end of the serial data. the preamble is also generated by the edlc chip and transmitted immediately prior to the destination address. destination address, source address, type field and data field are prepared in the buffer memory prior to initiating transmission. the figure 4. bit serialization/deserialization 80C03 4-4 md400121/c 4 fifo via txwr only when txrdy is high. actual transmission of the data onto the network will only occur if the network has not been busy for the minimum defer time (9.6 m s) and any backoff time requirements have been satisfied. when transmission begins, the edlc chip activates the transmit enable (txen) line concurrently with the transmission of the first bit of the preamble and keeps it active for the duration of the transmission. collision when concurrent transmissions from two or more eth- ernet nodes occur (collision), the edlc chip halts the transmission of the data bytes in the transmit fifo and transmits a jam pattern consisting of 55555555 hex. at the end of the jam transmission, the edlc chip issues a txret signal to the cpu and begins the backoff wait period. to reinitiate transmission, the initial bytes of the frame information fields must be reloaded into the edlc trans- mit fifo. the txret is used to indicate to the buffer manager the need for frame reinitialization. the reloading of the transmit fifo may be done prior to the backoff interval elapsing, so that no additional delay need be incurred to retransmission. scheduling of retransmission is determined by a con- trolled randomization process called truncated binary exponential backoff. the edlc chip waits a random interval between 0 and 2 k slot times (51.2 m s per slot time) before attempting retransmission, where k is the current transmission attempt number (not to exceed 10). when 16 consecutive attempts have been made at trans- mission and all have been terminated due to collision, the edlc transmit control sets an error status bit and issues an interrupt to the cpu if enabled. terminating transmission transmission terminates under the following conditions: normal: the frame has been transmitted successfully without contention. loading of the last data byte into the transmit fifo is signaled to the edlc chip by activation of the rxtxeof signal concurrently with the last byte of data loaded into the transmit fifo. this line acts as a ninth bit in the transmit fifo. when this last byte is serialized, if the chip is not in transmit no crc mode, then the crc is appended and transmitted concluding frame transmission. the transmission successful bit of the transmit status register will be set by a normal termina- tion. collision: transmission attempted by two or more eth- ernet nodes. the jam sequence is transmitted, the colli- sion status bit is set, transmit collision counter is updated, the txret signal is generated, and the backoff interval begun. underflow: transmit data is not ready when needed for transmission. once transmission has begun, the edlc chip on average requires one transmit byte every 800 ns in order to avoid transmit fifo underflow (starvation). if this condition occurs, the edlc chip terminates the trans- mission, issues a txret signal, and sets the transmit- underflow status bit. 16 transmission attempts: if a collision occurs for the sixteenth consecutive time, the 16-transmission-at- tempts status bit is set, the collision status bit is set, the txret signal is generated, and the backoff interval be- gun. the counter that keeps track of the number of collisions is modulo 16 and therefore rolls over on the 17th collision. bits 15 to 11 on the collision count registers (80C03 mode) indicates the attempt counter used for collision back-off. these can be read and cleared as described in the transmit command register description. at the completion of every transmission or retransmission, new status information is loaded into the transmit status register. dependent upon the bits enabled in the trans- mit command register, an interrupt will be generated for the just completed transmission. in both collision and underflow the txret signal is activated. receiving the edlc chip is continuously monitoring the network. when activity is recognized via the carrier sense (csn) line going active, the edlc chip synchronizes itself to the incoming data stream during the preamble, and then examines the destination address field of the frame. de- pending on the address match mode specified, the edlc chip will either recognize the frame as being addressed to itself in a general or specific fashion or abort the frame reception. the 80C03 also allows counting of all collisions seen on the network. preamble processing the edlc chip recognizes activity on the ethernet via the carrier sense line. the preamble is normally 64 bits (8 bytes) long. the preamble consists of a sequence of 62 alternating 1s and 0s followed by 11, with the frame information fields immediately following. in order for the decoder phase-lock to occur, the edlc chip waits 16 bit times before looking for the 11 end of preamble indicator. if the edlc chip receives a 00 before receiving the 11 in the preamble, an error condition has occurred. the frame is not received, and the edlc chip begins monitor- ing the network for a carrier again. 80C03 4-5 md400121/c 5 transmit receive data buffer bus transceiver dma/ buffer control cpu system memory 80C03 edlc 8020 or 8023 manchester code converter (mcc) collision transmit receive to 83c92 cmos coax transceiver 83c94 cmos twisted pair transceiver figure 5. typical ethernet node configuration address matching ethernet addresses consist of two 6-byte fields. the first bit of the address signifies whether it is a station address or a multicast/broadcast address. mine which byte is selected and bits 3 thru 5 to determine which bit according to the following tables: fcs bits byte selected 012 0 0 0 byte 0 0 0 1 byte 1 0 1 0 byte 2 0 1 1 byte 3 1 1 1 byte 7 fcs bits bit selected 456 0 0 0 bit 0 0 0 1 bit 1 0 1 0 bit 2 0 1 1 bit 3 1 1 1 bit 7 multicast address: if the first bit of the incoming address is a 1 and the edlc chip is programmed to accept multicast addresses without using hash filtering, the frame is received. the 80C03 also can be programmed to use hash filter for determining acceptance of multicast addresses. first bit address 0 station address (physical) 1 multicast/broadcast address (logical) address matching occurs as follows: station address: all destination address bytes must match the corresponding bytes found in the station ad- dress register. if group address mode is enabled, the last 4 bits of the station address are masked out during address matching. after computing the fcs on the first six bytes of the address field (destination address), the 80C03 uses bits 0 thru 5 as an address to the multi-cast address filter register. bit 0 of the fcs is assumed to be where receive data enters the fcs generation circuitry. if the corre- sponding bit addressed in the multicast address filter register is a 1 the 80C03 will receive the frame, otherwise it will discard the frame. addressing of the multicast address filter register occurs using bits 0 thru 2 to deter- 80C03 4-6 md400121/c 6 broadcast address: the six incoming destination ad- dress bytes must all be ff hex. if the edlc chip is programmed to accept broadcast or multicast addresses the frame will be received. if the incoming frame is addressed to the edlc chip specifically (destination address matches the contents of the station address register), or is of general or group interest (broadcast or multicast address), the edlc chip will pass the frame exclusive of preamble and fcs to the cpu buffer and indicate any error conditions at the end of the frame. if, however, the address does not match, as soon as the mismatch is recognized the edlc chip will terminate reception and issue an rxdc. the edlc chip may be programmed via the match mode bits of the receive command register to ignore all frames (disable receiver), accept all frames (promiscuous mode), accept frames with the proper station address or the broadcast address (station/broadcast), or accept all frames with the proper station address, the broadcast address, or all multicast addresses (station/broadcast/ multicast). terminating reception reception is terminated when either of the following con- ditions occur: carrier sense inactive: indicates that traffic is no longer present on the ethernet cable. overflow: the host node for some reason is not able to empty the receive fifo as rapidly as it is filled, and an error occurs as frame data is lost. on average the receive fifo must be serviced every 800 ns to avoid this condition. frame reception conditions upon terminating reception, the edlc chip will determine the status of the received frame and conditionally load it into the receive status register. an interrupt will be issued if the appropriate conditions as specified in the receive command register are present. the edlc chip may report the following conditions at the end of frame reception: overflow: the edlc internal receive fifo overflows. dribble error: carrier sense did not go inactive on a receive data byte boundary. crc error: the 32-bit crc transmitted with the frame does not match that calculated upon reception. short frame: a frame containing less than 64 bytes of information was received (including fcs). good frame: a frame is received that does not have a crc error, shortframe or overflow condition. system interface the edlc chip system interface consists of two independ- ent busses and respective control signals. data is read and written over the receive/transmit data bus rxtxd (0-7). these transfers are controlled by the txrdy and txwr signals for transmitted data and rxrdy and rxrd for received data. all commands and station addresses are written, and all status read over a separate command/ status bus cdst (0-7). these transfers are controlled by the cs , rd , wr and a0-a2 signals. the edlc chips command and status registers may be accessed at any time. however, it is recommended that writing to the command register be done only during interframe gaps. with the exception of the two match mode bits in the receive command register, all bits in both command registers are interrupt enable bits. changing the interrupt enable bits during frame transmission does not affect the frame integrity. asynchronous error events, however, e.g., overflow, underflow, etc., may cause chip operation to vary, if their corresponding enable bits are being altered at the same time. reading the status registers may also occur at any time during transmission or reception. status registers are read only registers. command and station address registers are write only registers. access to these registers is via the cpu interface: control signals cs, rd , wr , and the command/status data bus cdst (0-7). station address register the station address register is 6 bytes in length. the contents may be written in any order, with bit 0 of byte 0 corresponding to the first bit received in the data stream, and indicating whether the address is physical or logical. bit 7 of station address byte 5 is compared to the last bit of register address register description a2 a1 a0 read write 0 0 0 0 station addr 0 1 0 0 1 station addr 1 2 0 1 0 station addr 2 3 0 1 1 station addr 3 4 1 0 0 station addr 4 5 1 0 1 station addr 5 6 1 1 0 rx status rx command 7 1 1 1 tx status tx command internal register addressing (8003 mode) 80C03 4-7 md400121/c 7 the old/new status bit is set each time the transmit status register is read, and reset each time new status is loaded into the transmit status register. the old/new status bit is set, and all other bits cleared upon chip reset. transmit status register format the received destination address. the station address should be programmed prior to enabling the receiver. transmit command register the transmit command register is an interrupt mask register, which provides for control of the conditions al- lowed to generate transmit interrupts. each of the four least significant bits of the register may be individually set or cleared. when set, the occurrence of the associated condition will cause an interrupt to be generated. the four specific conditions for which interrupts may be generated are: ? underflow ? collision ? 16 collisions ? transmission successful the interrupt signal int will be set when one or more of the specified transmission termination conditions occurs and the associated command bit has been set. the interrupt signal int will be cleared when the transmit status register is read. all bits of the transmit command register are cleared upon chip reset. transmit command register format transmission successful is set only on the successful transmission or retransmission of a frame. 80C03 provides additional new features which are en- abled depending on writing 1s to bits 7,6,5,4 of the transmit command register. if these four bits are always 0 then the 80C03 will be exactly compatible to seeq 8003 edlc. the bits 6,5 of transmit command register are used to address new registers on 80C03 together with the a2, a1, a0, rd wr, cs pins. (see table page 9) transmit status register the transmit status register is loaded at the conclusion of each frame transmission or retransmission attempt. it provides for the reporting of both the normal and error termination conditions of each transmission. receive command register the receive command register has two primary func- tions, it specifies the address match mode, and it specifies frames-of interest. i.e. frames whose arrival must be communicated to the cpu via interrupts and status regis- ter updates. frames-of-interest are frames whose status must be saved for inspection, even at the expense of losing subsequent frames. receive command register format bits 0-5 specify interrupt and frame-of-interest when set. bit 4, end of frame, specifies any type of frame except overflow. interrupt on overflow error interrupt on crc error interrupt on dribble error match mode 0 765 321 40 bit match mode 1 interrupt on short frame interrupt on end of frame interrupt on good frames transmit underflow transmit collision 16 transmission attempts transmission successful 765 321 4 xxx 0 bit old/new status interrupt on transmit underflow interrupt on transmit collision interrupt on 16 transmission attempts interrupt on transmission successful 765 321 4 0000 0 bit if ??enable additional features if ??8003 mode 80C03 4-8 md400121/c 8 match match mode mode 1 0 function 0 0 0 receiver disable 1 0 1 receive all frames 2 1 0 receive station or broadcast frames 3 1 1 receive station, broadcast/multicast frames match mode definition changing the receive match mode bits during frame re- ception may change chip operation and give unpredictable results. interrupt enable and frames-of-interest bits 0-5 when set specify interrupt generation on occur- rence of the corresponding frame reception condition. they also specify the corresponding types of frames to be frames-of-interest for use by the receive status register to control status loading. receive status register the receive status register is normally loaded with the status of each received frame when the frame has been received or frame reception has been terminated due to an error condition. in addition, this register contains the old/ new status bit which is set when the receive status register is read or the chip is reset, and cleared only when status is loaded for a frame-of-interest (as defined by bits 0-5 of the receive command register). all other bits are cleared upon chip reset. received frame with overflow error received frame with crc error received frame with dribble error 765 321 40 bit old/new status received short frame received end of frame received good frame x receive status register format the old/new status bit write-protects the receive status register while it contains unread status for a frame-of- interest. when this bit is zero, the register is write- protected. the old/new status bit is cleared whenever the status of a new frame-of-interest is loaded into the re- ceive status register and is set after that status is read. when zero, it indicates new status for a frame-of- interest. thus the status of any frame received following the recep- tion of a frame-of-interest will not be loaded into the receive status register unless the previous status has been read. if any following frame is received before the status of the previous frame-of-interest has been read, the new status will not be loaded, the receive discard (rxdc) signal will be issued and the receive fifo will be cleared. with this one exception caused by a write-protect condi- tion, the status of each frame is always loaded into the receive status register on completion of reception. any frame received will cause an interrupt to be generated if the corresponding interrupt enable bit is set. this interrupt is reset upon reading the receive status regis- ter. these conditions ensure that a maximum number of good frames are received and retained. 80C03 4-9 md400121/c 9 register address register description 6 5 a2 a1 a0 read write 0 0 0 0 0 0 transmit collision counter lsb station addr 0 1 0 0 0 0 1 transmit collision counter msb station addr 1 2 0 0 0 1 0 total collision counter lsb station addr 2 3 0 0 0 1 1 total collision counter msb station addr 3 4 0 0 1 0 0 for test only do not use station addr 4 5 0 0 1 0 1 bit 0 sqe flag station addr 5 bit 1 txen_no_ carrier flag 6 0 0 1 1 0 rx status rx command 7 0 0 1 1 1 tx status tx command 0 0 1 0 0 0 multicast filter lsb register 0 1 0 1 0 0 1 multicast filter register 1 2 0 1 0 1 0 multicast filter register 2 3 0 1 0 1 1 multicast filter register 3 4 0 1 1 0 0 multicast filter register 4 5 0 1 1 0 1 multicast filter register 5 0 1 0 0 0 0 multicast filter register 6 1 1 0 0 0 1 multicast filter msb register 7 2 1 0 0 1 0 reserved. set to all 0 3 1 0 0 1 1 tx control register 4 1 0 1 0 0 tx-rx config. register 5 1 0 1 0 1 reserved 6 1 0 1 1 0 reserved 7 1 0 1 1 1 reserved transmit command register bits internal register addressing (80C03 mode) note: for register reads, the transmit command register bits 5 & 6 are a dont care. 80C03 4-10 md400121/c 10 transmit control register available in 80C03 mode only. allows for control of trans- mit collision counter, total collision counter, sqe func- tion, carrier loss on transmit reporting, multi-cast hash filter reception of runt frames. set to all 0s after reset. multicast mode there is a 64 bit multicast address filter register on 80C03 which can accessed as shown in table (page 9). when the seeq 80C03 is programmed to receive multicast frames (match mode 3), after computing the crc on the address field of the receiving frame (first 6 bytes), it will index to the multicast address filter register depending on bits 0 to 5 of the crc. if the corresponding bit is a 1 it will receive the frame, otherwise it will discard the frame. sqe status bit after transmitting a frame if 80C03 does not receive a collision with in a 4.0 m s period this bit will be set. once set this will stay set until cleared. this can read and cleared as explained in the register section. collision count registers there are two 16 bit read only collision count registers which are cleared on reset. one counts the collisions on transmission and the other counts all the collisions except the ones in the sqe_window. the transmit collision counter is eleven bits wide. bits 15 to 11 of this register 765 321 4 xx 0 bit 0 = ??enables transmit collision counter bit 0 = ??clears transmit collision counter bit 1 = ??enables collision counter bit 1 = ??clears collision counter bit 2 = ??enables sqe function bit 2 = ??clears sqe flag bit 3 = ??enables hash filter for multicast bit 3 = ??disables hash filter for multicast bit 4 = ??disables the reception of frames shorter than 13 bytes bit 5 = ??enables txen_no_carrier function bit 5 = ??clears txen_no_carrier flag indicates the attempt counter used in seeq for collision back off. these can be read and cleared as described in register section. txen_no_carrier when txen goes from 1 to 0, if there is no carrier this bit is set. once set this will stay set until cleared. these can be read and cleared as described in register section. test mode bits 7 and 4 of the transmit command register are used for testing purposes only. for normal operation these bits should be set to 0. tx-rx configuration register available in 80C03 mode only. allows for control of various transmit and receive features. set to all 0s after reset. group address mode in this mode the last 4 bits of the serial receive data stream for the destination address are masked out in address comparison. this means that when the destination ad- dress is compared against the value programmed in the station address register that the packet will not be rejected due to incorrect address even its last 4 bits did not match. 765 321 40 bit 0 = ?? enables group address mode bit 1 = ?? enables transmit packet autopad mode bit 2 = ?? enables transmit no preamble mode bit 3 = ?? enables receive own traansmit disable mode bit 4 = ?? enables transmit no crc mode bit 5 = ?? enables full duplex mode bit 6 = ?? enables receive crc mode bit 7 = ?? enables fast receive discard mode 80C03 4-11 md400121/c 11 transmit packet autopad mode this feature automatically pads packets to be transmitted with less than 60 bytes of data out to a minimum ieee 802.3 standard packet length of 60 bytes excluding fcs. padding is done with bytes of 00 hex. transmit no preamble mode this mode prevents the transmitter from adding a pre- amble pattern at the beginning of data to be transmitted. receive own transmit disable mode this mode prevents the 80C03 from receiving a packet if it is also transmitting a packet. transmit no crc mode this mode prevents the transmitter from appending trans- mit data with an fcs. autoduplex mode in this mode the transmitter will ignore carrier sense and will not defer to it if it is ready to transmit a packet. receive crc mode in this mode the receiver loads the 4 bytes of fcs into the receive fifo along with the data allowing the fcs value to be read out. fast receive discard mode in this mode the receive discard signal rxdc occurs a maximum of 400 ns after carrier sense goes low. pin description the edlc chip has four groups of interface signals: ? power supply ? data buffer ? encoder/decoder ? command/status power supply v cc ..........................................................................+5v v ss .....................................................................ground encoder/decoder interface txc transmit clock (input): 10 mhz, 50% duty cycle transmit clock used to synchronize the transmit data from the edlc chip to the encoder. this clock runs continu- ously, and is asynchronous to rxc. txd transmit data (output): serial data output to the encoder. active high. txen transmit enable (output): this signal is used to activate the encoder. it becomes active when the first bit of the preamble is transmitted and inactive when the last bit of the frame is transmitted. active high and cleared by reset. rxc receive data (input): 10 mhz, 50% duty cycle nominal. the receive clock is used to synchronize incom- ing data to the edlc chip from the decoder. this clock runs continuously, and is asynchronous to txc. rxd receive data (input): serial input data to the edlc chip from the decoder. active high. csn carrier sense (input): indicates traffic on the coax- ial cable to the edlc chip. becomes active with the first bit of the preamble received, and inactive one bit time after the last bit of the frame is received. active high. coll collision (input): indicates transmission conten- tion of the ethernet cable. the collision input is latched internally. sampled during transmission, collision is set by an active high pulse on the coll input and automatically reset at the end of transmission of the jam sequence. data buffer interface rxtxd (0-7) receive/transmit data bus (i/o): carries receive/transmit data byte from/to the edlc chip re- ceive/transmit fifos. rxtxeof receive/transmit end of frame (i/o): indi- cates last byte of data on the receive/transmit data bus. effectively a ninth bit in the fifos with identical timing to rxtxd (0-7). active high. rxrdy receive ready (output): indicates that at least one byte of received data is available in the receive fifo. this signal will remain active high as long as one byte of data remains in the receive fifo. when this condition no longer exists, rxrdy will be deasserted with respect to the leading edge of the rxrd strobe that removes the last byte of data from the receive fifo. rxrd should not be activated if rxrdy is low. active high and cleared by reset. rxrd receive read strobe (input): enables transfer of received data from the edlc receive fifo to the rxtxd bus. data is valid from the edlc receive fifo at the rxtxd pins on the rising edge of this signal. this signal should not be activated unless rxrdy is high. active low. rxdc receive discard (output): asserted when one of the following conditions occurs, and the associated inter- rupt enable bit in the receive command register is reset. (1) receive fifo overflow. (2) crc error. (3) short frame error. (4) receive frame address nonmatch or (5) current frame status lost because previous status was not read. 80C03 4-12 md400121/c 12 rxdc does not activate on errors when the associated interrupt enable bit is set. in this case, eof will be generated instead when the receive fifo is read out. this allows reception of frames with errors. rxdc acts internally to clear the receive fifo. txrdy transmit ready (output): indicates that the transmit fifo has space available for at least one data byte. this signal will remain active high as long as one byte of space exists for transmitted data to be written into. when this condition no longer exists, txrdy will be deasserted with respect to the leading edge of the txwr strobe that fills the transmit fifo. txrdy is forced inactive during reset, and when txret is active. active high. goes high after reset. txwr transmit write (input): synchronizes data trans- fer from the rxtxd bus to the transmit fifo. data is written to the fifo on the rising edge of this signal. this signal should not be active unless txrdy is high. active low. txret transmit retransmit (output): asserted when- ever either transmit underflow or transmit collision condi- tions occur. it is nominally 800 ns in width. active high. asserted by reset. txret clears the internal transmit fifo. aduplx* - input (plcc package only): active low input used to set 80C03 in autoduplex mode. in this mode the transmitter will not defer to active carrier sense signal. command/status interface cdst (0-7) command/status data bus (i/o): these lines carry commands and status as well as station address initialization information between the edlc chip and cpu. these lines are nominally high impedance until activated by cs and rd being simultaneously active. a0-a2 address (0-2) (input): address lines to select the proper edlc internal registers for reading or writing. cs chip select (input): chip select input, must be active in conjunction with rd or wr to successfully access the edlc internal registers. active low. rd read (input): enables reading of the edlc internal registers in conjunction with cs. data from the internal registers is enabled via the falling edge of rd and is valid on the rising edge of the signal. active low. wr write (input): enables writing of the edlc internal registers in conjunction with cs. write data on the cdst (0-7) data lines must be set up relative to the rising edge of the signal. active low. int interrupt (output): enabled as outlined above by a variety of transmit and receive conditions. remains active until the status register containing the reason for the interrupt is read. active high. reset (input): initializes control logic, clears command registers, clears the transmit status register, clears bits 0-5 of the receive status register, sets the old/new status bit (bit 7 of the receive status register), asserts rxdc and txret and clears the receive and transmit fifos. in addition, txrdy is forced low during a reset. txrdy goes high when reset goes high, indicating the edlc chip is ready to transmit. reset is active low. 80C03 4-13 md400121/c 13 limits [1] symbol parameter min. typ. max. units condition i in input leakage current 10 m av in = 0.45 v to 5.25 v i o output leakage current 10 m av out = 0.45 v to 5.25 v i cc v cc current 30 40 ma v ch clock input high voltage 3.5 6 v v cl clock input low voltage 0.8 v v il input low voltage 0.8 v v ih input high voltage 2.0 6 v except txwr and rxrd v ih input high voltage 3.0 6 v txwr and rxrd v ol output low voltage 0.4 v i ol = 2.1 ma v oh output high voltage 2.4 v i oh = C400 m a dc characteristics t a = 0 c to 70 c, v cc = 5 v to 5% note: 1. typical values are for t a = 25 c and nominal supply voltages. 1 2 absolute maximum ratings ambient temperature under bias ........................................... C10 c to + 80 c storage temperature .......................... C65 c to +150 c all input or output voltages with respect to ground ........................... +6v to C0.3v package maximum power dissipation ............ 1.5 watts operating conditions ambient temperature range ...................... 0 c to 70 c v cc power supply ................................ 4.50 v to 5.50 v 80C03 4-14 md400121/c 14 limits units symbol [5] parameter min. typ. max. (ns) condition data and command/status interface timing tdbd rxtx/cdst bus data delay 40 ns tdbr rxtx/cdst bus release delay 10 ns tdbs rxtx/cdst bus siezure delay 10 20 ns tdry rxrdy/txrdy clear delay 40 ns thar a 0-2 /cs hold 10 ns thda rxtx/cdst bus hold 0 ns thrw rxrd/txwr hold 0 ns tsar a 0-2 /cs setup 0 ns tscs cdst bus setup 20 ns tsrt rxtx bus setup 20 ns twch rxrd/txwr/rd/wr high width 50 ns twcl rxrd/twr/rd/wr low width 50 10,000 ns ac test conditions output load: 1 schottky ttl gate + cl = 100 pf (all pins except txen, txd) txen, txd load: 1 schottky ttl gate + cl = 35 pf input pulse level:0.4 v to 2.4 v timing reference level:1.5 v capacitance [6] t a = 25 c, f c = 1 mhz symbol parameter maximum condition c in input capacitance 15 pf v in = 0 v c i/o i/o capacitance 15 pf v i/o = 0 v ac characteristics t a = 0 c to 70 c, v cc = 5 v 5% serial transmit and receive inteface timing tddc rxdc set delay 950 1650 ns note 1 tdic int clear delay 45 ns tdre txret set delay 2400 3400 ns note 3 tdri receive int delay 1150 1850 ns note 2 tdtd txd/txen delay 20 60 ns ci = 35 pf tdti transmit int delay 2600 3600 ns note 4 thrd rxd hold 20 ns tpck rxc/txc clock period 95 1000 ns tsrd rxd setup 30 ns twdc rxdc high width 800 ns twrc rxc high/low width 45 ns twre txret high width 800 ns twrs reset low width 10,000 ns twtc txc high/low width 45 ns twco coll width 200 ns notes: 1. for frame reception with shortframe or crc error. if frame reception is terminated due to overflow, rxdc will be issued within 1.2 m s of overflow. if frame reception is terminated due to non-match of address, rxdc wil be issued within 2.4 m s of the receipt of the last address bit. if fast receive discard mode is enabled, the maximum delay of rxdc is 400 ns. 2. normal frame reception without overflow. if frame reception is terminated due to overflow, int will be issued within 1.2 m of overflow. 3. for txret caused by collision or 16 collision condition. if transmission is terminated due to underflowtxret will be issued within 1.2 m s of the underflow. 4. for int caused by collision or 16 collision condition. if caused by underflow, int will be issued within 1.1 m s. if caused by normal termination, int will be issued within 200 ns of txen going low. 5. italics indicate input requirement, non-italics indicate output timing. 6 characterized. not tested. 80C03 4-15 md400121/c 15 receive data interface timing transmit data interface timing command/status interface timing note 1: bus is driven at this time. however, no valid information present. wr twch thar twcl tscs twch thda tdbs a0 ?a2, cs cdst (0 ?7) tsar thar twc l rd tsar note 1 tdbd tdbr rxrdy rxtxd(0 ?7) rxtxeof tdry tdbs tdbd note 1 tdbr tdbs note 1 r x fifo (bottom) empty thrw tdbr rxrd twcl twcl twch tdbd txrdy rxtxd(0 ?7) rxtxeof t x fifo (top) full txwr twcl thrw twch tsrt thda tsrt twcl thda 80C03 4-16 md400121/c 16 serial transmit interface timing serial receive interface timing rd int txret txc txd txen coll tsrd thrd int rxc rxd csn rxdc rd twco tdic tdti tdre tdtd twre tpck twtc twtc tdtd tdtd tpck twrc twrc tddc twdc tdri tdic 80C03 4-17 md400121/c 17 ordering information d q 80C03 package type temperature range part type d ?ceramic dip p ?plastic dip n ?plcc q ?0 c to +70 c edlc revision history 9/9/96 - pages 18, 19, dimension diagrams have been added to this data sheet. 80C03 4-18 md400121/c 18 pin no. 1 pin no. 1 identifier .048 (1.22) x 45 .042 (1.07) x 45 .656 (16.66) .650 (16.51) .695 (17.65) .685 (17.40) .656 (16.66) .650 (16.51) .695 (17.65) .685 (17.40) .021 (0.53) .013 (0.33) r .045 (1.14) r .025 (.64) .056 (1.42) .042 (1.07) .112 (2.84) .100 (2.54) .180 (4.57) .165 (4.19) .0103 (.261) .0097 (.246) .500 (12.70) ref. .050 (1.27) bsc .500 (12.70) ref. .630 (16.00) .590 (14.99) .020 (0.51) min. surface mount packages 44-pin plastic leaded chip carrier type n notes 1. all dimensions are in inches and (millimeters). 2. dimensions do not include mold flash. maximum allowable flash is .008 (.20). 3. formed leads shall be planar with respect to one another within 0.004 inches. 80C03 4-19 md400121/c 19 .600 (15.24) .510 (12.95) .065 (1.65) .045 (1.14) .225 (5.72) max. .021 (0.53) .015 (0.38) .110 (2.79) .090 (2.29) .090 (2.29) max. .160 (4.06) .125 (3.18) .070 (1.78) .015 (0.38) .625 (15.88) .600 (15.24) (note 3) 0 /15 ref. seating plane .720 (18.29) .588 (14.94) .012 (.30) .008 (.20) see note 1 2.085 (52.96) 2.035 (51.69) pin 1 .005 (.13) min. .150 (3.81) min. pin 1 ceramic dual-in-line packages 40 lead hermetic cerdip package type d notes 1. for solder dipped leads, thickness will be .020 max. 2. all dimensions in inches and (millimeters). 3. dimension is measured from outside shoulder-to-shoulder. |
Price & Availability of 80C03 |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |