| Electronic Components Datasheet Search |
|
AM79C940 Datasheet(PDF) 47 Page - Advanced Micro Devices |
|
|
|||||||||||||||||||||||||||||
AM79C940 Datasheet(HTML) 47 Page - Advanced Micro Devices |
|
47 / 122 page ![]() AMD 47 Am79C940 using the FIFO Direct mode, the MACE device will place EOF in a high impedance state. RDTREQ should be sampled on the falling edge of SCLK. The assertion of RDTREQ is programmed by RCVFW, and the de-assertion is modified dependent on the state of the RCVBRST bit (both in the FIFO Configu- ration Control register). See the section Receive FIFO Read for additional details. Write Access Details of the write access timing are located in the AC Waveforms section, Host System Interface, figures: Two-Cycle Transmit FIFO/Register Write Timing and Three-Cycle Transmit FIFO/Register Write Timing . Write cycles are executed in a similar manner as the read cycle previously described, but with the R/ W input low, and the host responsible to provide the data with sufficient set up to the falling edge of SCLK after S2. After a FIFO write, TDTREQ should be sampled on or after the falling (EDSEL = HIGH) edge of SCLK after S3 of the FIFO write. The state of TDTREQ at this time will reflect the state of the XMTFIFO. After going active (low), TDTREQ will remain low for two or more XMTFIFO writes. The minimum high (inactive) time of TDTREQ is one SCLK cycle. When EOF is written to the Transmit FIFO, TDTREQ will go inactive after one SCLK cycle, for a minimum of one SCLK cycle. Initialization After power-up, RESET should be asserted for a mini- mum of 15 SCLK cycles to set the MACE device into a defined state. This will set all MACE registers to their de- fault values. The receive and transmit functions will be turned off. A typical sequence to initialize the MACE de- vice could look like this: Write the BIU Configuration Control (BIUCC) regis- ter to change the Byte Swap mode to big endian or to change the Transmit Start Point. Write the FIFO Configuration Control (FIFOCC) register to change the FIFO watermarks or to enable the FIFO Burst Mode. Write the Interrupt Mask Register (IMR) to disable unwanted interrupt sources. Write the PLS Configuration Control (PLSCC) reg- ister to enable the active network port. If the GPSI inter- face is used, the register must be written twice. The first write access should only set PORTSEL[1–0] = 11. The second access must write again PORTSEL[1–0] = 11 and additionally set ENPLSIO = 1. This sequence is re- quired to avoid contention on the clock, data and/or car- rier indication signals. Write the PHY Configuration Control (PHYCC) reg- ister to configure any non-default mode if the 10BASE-T interface is used. Program the Logical Address Filter (LADRF) regis- ter or the Physical Address Register (PADR). The Inter- nal Address Configuration (IAC) register must be accessed first. Set the Address Change (ADDRCHG) bit to request access to the internal address RAM. Poll the bit until it is cleared by the MACE device indicating that access to the internal address RAM is permitted. In the case of an address RAM access after hardware or software reset (ENRCV has not been set), the MACE device will return ADDRCHG = 0 right away. Set the LOGADDR bit in the IAC register to select writing to the Logical Address Filter register. Set the PHYADDR bit in the IAC register to select writing to the Physical Address Register. Either bit can be set together with writing the ADDRCHG bit. Initializing the Logical Address Filter register requires 8 write cycles. Initializing the Physical Address Register requires 6 write cycles. Write the User Test Register (UTR) to set the MACE device into any of the user diagnostic modes such as loopback. Write the MAC Configuration Control (MACCC) reg- ister as the last step in the initialization sequence to en- able the receiver and transmitter. Note that the system must guarantee a delay of 1 ms after power-up before enabling the receiver and transmitter to allow the MACE phase lock loop to stabilize. The Transmit Frame Control (XMTFC) and the Receive Frame Control (RCVFC) registers can be pro- grammed on a per packet basis. Reinitialization The SWRST bit in the BIU Configuration Control (BIUCC) register can be set to reset the MACE device into a defined state for reinitialization. The same se- quence described in the initialization section can be used. The 1 ms delay for the MACE phase lock loop sta- bilization need not to be observed as it only applies to a power–up situation. TRANSMIT OPERATION The transmit operation and features of the MACE device are controlled by programmable options. These options are programmed through the BIU, FIFO and MAC Con- figuration Control registers. Parameters controlled by the MAC Configuration Con- trol register are generally programmed only once, during initialization, and are therefore static during the normal operation of the MACE device (see the Media Access Control section for a detailed description). The features controlled by the FIFO Configuration Control |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |