Freescale Semiconductor MPC860T manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Freescale Semiconductor MPC860T. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoFreescale Semiconductor MPC860T vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Freescale Semiconductor MPC860T você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Freescale Semiconductor MPC860T, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Freescale Semiconductor MPC860T deve conte:
- dados técnicos do dispositivo Freescale Semiconductor MPC860T
- nome do fabricante e ano de fabricação do dispositivo Freescale Semiconductor MPC860T
- instruções de utilização, regulação e manutenção do dispositivo Freescale Semiconductor MPC860T
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Freescale Semiconductor MPC860T não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Freescale Semiconductor MPC860T e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Freescale Semiconductor na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Freescale Semiconductor MPC860T, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Freescale Semiconductor MPC860T, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Freescale Semiconductor MPC860T. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE MPC860T AD/D Re v . 0.8, 09/1999 ª MPC860T (Re v . D) F ast Ethernet Contr oller Supplement to the MPC860 P ow erQUICC™ User’ s Manual Fr eescale S emiconduct or , I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Página 2

    © Motorola Inc. 1999. All rights reserved. DigitalDNA and Mfax are trademarks of Motorola, Inc. The PowerPC name, the PowerPC logotype, and PowerPC 603e are trademarks of International Business Machines Corporation used by Motorola under license from International Business Machines Corporation. I 2 C is a registered trademark of Philips Semiconduc[...]

  • Página 3

    MOTOROLA Contents iii PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE CONTENTS P aragraph Number Title Pag e Number Chapter 1 Overview 1.1 Document Revision History ................................................................................. 1-1 1.2 Overview ........................................................................................[...]

  • Página 4

    iv MPC860T (Rev. D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE CONTENTS P aragraph Number Title Pag e Number Chapter 4 Parallel I/O Ports 4.1 Port D Pin Functions.............................................................................................4-1 4.1.1 Port D Registers ....................[...]

  • Página 5

    MOTOROLA Contents v PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE CONTENTS P aragraph Number Title Pag e Number 6.3.1 Hardware Initialization................................................................................... 6-22 6.3.2 User Initialization (before Setting ECNTRL[ETHER_EN]) ......................... 6-22 6.3.2.1 Descriptor Controller[...]

  • Página 6

    vi MPC860T (Rev. D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINARYÑSUBJECT TO CHANGE WITHOUT NOTICE CONTENTS P aragraph Number Title Pag e Number Fr eescale S emiconduct or , I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Página 7

    MOTOROLA Illustrations vii PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE ILLUSTRATIONS Figure Number Title Pag e Number 1-1 MPC860T Block Diagram .................................................................................. 1-4 1-2 MPC860T Interrupt Structure ............................................................................. 1-5 [...]

  • Página 8

    viii MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE ILLUSTRATIONS Figure Number Title Pag e Number Fr eescale S emiconduct or , I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Página 9

    MOTOROLA T ables ix PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE TABLES Ta b l e Number Title Pag e Number 1-1 Document Revision History ................................................................................ 1-1 2-1 FEC Signal Descriptions ..................................................................................... 2-1 3-1 MI[...]

  • Página 10

    x MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE TABLES Ta b l e Number Title Pag e Number 6-27 Receive Buffer Descriptor (RxBD) Field Description...................................... 6-25 6-29 Transmit Buffer Descriptor (TxBD) Field Descriptions ................................... 6[...]

  • Página 11

    MOTOROLA Chapter 1. Overview 1-1 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Chapter 1 Overview 10 10 This chapter provides an o vervie w of Rev . D of the MPC860T, focussing primarily on the Fast Ethernet controller (FEC). It pro vides a discussion of its basic features and a general look at ho w the MPC860T can be implemented. This document [...]

  • Página 12

    1-2 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE The MPC860T integrates three separate processing blocks. The Þrst two, common with all MPC860 de vices, are as follows: ¥ A high-performance Po werPCª core that can be used as a general purpose processor for application programming[...]

  • Página 13

    MOTOROLA Chapter 1. Overview 1-3 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE management of transmit and recei ve b uffer memory ¥ 10/100 base-T media access control (MA C) features Ñ Address recognition for broadcast, single station address, promiscuous mode, and multicast hashing Ñ Full support of media-independent interface (MII) Ñ Inter[...]

  • Página 14

    1-4 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Figure 1-1. MPC860T Block Diagram The FEC complies with the IEEE 802.3 speciÞcation for 10- and 100-Mbps connecti vity . Full-duplex 100-Mbps operation is supported at system clock rates of 40 MHz and higher . A 25-MHz system clock s[...]

  • Página 15

    MOTOROLA Chapter 1. Overview 1-5 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE in memory management of transmit and recei ve data frames. External memory (DRAM) is inexpensi ve, and because BD rings in e xternal memory hav e no inherent size limitations, memory management easily can be optimized to system needs. 1.4.2 SIU Interrupt ConÞguration[...]

  • Página 16

    1-6 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Figure 1-3 sho ws the glueless connection of the serial channels to physical layer framers and transcei vers. Figure 1-3. MPC860T Serial Configuration “7-wire” interface MPC8xx 100Base-T Transceiver 10Base-T Transceiver T1 Framer [...]

  • Página 17

    MOTOROLA Chapter 2. FEC External Signals 2-1 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Chapter 2 FEC External Signals 20 20 This chapter contains brief descriptions of the MPC860T FEC input and output signals in their functional groups. 2.1 Signal Descriptions The MPC860T system bus signals consist of all the lines that interf ace with the e[...]

  • Página 18

    2-2 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE PD[12] L1RSYNCB MII_MDC R16 General-pur pose I/O por t D bit 12ÑThis is bit 12 of the general-purpose I/O por t D . L1RSYNCBÑInput receive data sync signal to the TDM channel B . MII management data clockÑOutput clock provides a ti[...]

  • Página 19

    MOTOROLA Chapter 2. FEC External Signals 2-3 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE PD[4] REJECT3 MII_TXD[2] U16 General-pur pose I/O por t D bit 4ÑThis is bit 4 of the general-purpose I/O por t D . Reject 3ÑThis input to SCC3 allows a CAM to reject the current Ethernet frame after it determines the frame address did not match. MII tran[...]

  • Página 20

    2-4 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Fr eescale S emiconduct or , I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Página 21

    MOTOROLA Chapter 3. F ast Ethernet Controller Operation 3-1 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Chapter 3 F ast Ethernet Contr oller Operation 30 30 This chapter discusses the operation of the FEC. 3.1 T ransceiver Connection The FEC supports both an MII interface for 10/100 Mbps Ethernet and a se ven-wire serial interface for 10-Mbps [...]

  • Página 22

    3-2 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE 3.2 FEC Frame T ransmission FEC transmissions require almost no host intervention. When the software dri ver sets the ETHER_EN bit in the Ethernet control register (ECNTRL) and the X_DES_A CTIVE bit in the CSR TxBD acti ve re gister ([...]

  • Página 23

    MOTOROLA Chapter 3. F ast Ethernet Controller Operation 3-3 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE (I_EVENT[B ABT] = 1); ho wev er , the entire frame is sent (no truncation). Whether b uf fer or frame interrupts can be generated is determined by I_MASK settings. T o pause transmission, set the graceful transmit stop bit, X_CNTRL[GTS]. Whe[...]

  • Página 24

    3-4 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE of the frame to the associated data buf fer . R_BUFF_SIZE[R_BUFF_SIZE] determines b uf fer length, which should be at least 128 bytes. R_BUFF_SIZE must be quad-word (16-byte) aligned. During reception, the FEC checks for a frame that [...]

  • Página 25

    MOTOROLA Chapter 3. F ast Ethernet Controller Operation 3-5 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE broadcast address. If it is, the frame is accepted unconditionally; otherwise (multicast address) a hash table lookup is performed using the 64-entry hash table deÞned in the hash table registers. In promiscuous mode (R_CNTRL[PR OM] = 1), t[...]

  • Página 26

    3-6 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE of the CRC-encoded result to generate a number between 0 and 63. Bit 31 of the CRC result selects HASH_T ABLE_HIGH (bit 31 = 1) or HASH_T ABLE_LOW (bit 31 = 0). Bits 30Ð26 of the CRC result select the bit in the selected register . I[...]

  • Página 27

    MOTOROLA Chapter 3. F ast Ethernet Controller Operation 3-7 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE 3.10 Internal and External Loopbac k The FEC supports Both internal and external loopback. In loopback mode, both FIFOs are used and the FEC operates in full-duplex f ashion. Both internal and external loopback are conÞgured through R_CNTRL[...]

  • Página 28

    3-8 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Table 3-4. Reception Errors Error Description Overrun Error The FEC maintains an internal FIFO for receiving data. If a receiv er FIFO overrun occurs, the FEC closes the buff er and sets RxBD[O V]. Non-Octet Error (Dribbling Bits) The[...]

  • Página 29

    MOTOROLA Chapter 4. Parallel I/O P orts 4-1 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Chapter 4 P arallel I/O P or ts 40 40 This chapter sho ws how to use port D pin multiple xing to support Fast Ethernet controller (FEC) operations. 4.1 P ort D Pin Functions Each of the 13 port D pins is independently conÞgured as a general-purpose I/O pin[...]

  • Página 30

    4-2 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 4-1 sho ws the port D pin assignments. 4.1.1 P ort D Registers Port D has three memory-mapped, read/write, 16-bit control registers. 4.1.2 Enabling MII Mode T o enable MII mode, do the follo wing: 1. Write 0x1FFF to PDP AR. 2. [...]

  • Página 31

    MOTOROLA Chapter 5. SDMA Bus Arbitration and T ransf ers 5-1 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Chapter 5 SDMA Bus Arbitration and T ransfer s 50 50 This chapter describes SDMA functions speciÞc to the MPC860T, particularly where the functionality dif fers from the MPC860. For a full discussion of SDMA b us arbitration and transfers,[...]

  • Página 32

    5-2 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE 5.2.1 SDMA ConÞguration Register (SDCR) The SDMA conÞguration register (SDCR), sho wn in Figure 5-2, is used to conÞgure all 16 SDMA channels. It is always read/write in supervisor mode, although writing to the SDCR is not recommen[...]

  • Página 33

    MOTOROLA Chapter 6. Pr ogramming Model 6-1 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Chapter 6 Pr ogramming Model 60 60 This chapter gi ves an ov erview of the MPC860T implementation of the F ast Ethernet controller (FEC) registers, b uf fer descriptors (BDs), and initialization. 6.1 Overview The FEC software model is similar to that used by[...]

  • Página 34

    6-2 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE 6.2.1 RAM P erfect Match Ad dress Low Register (ADDR_LO W) The ADDR_LO W re gister , shown in Figure 6-1, is written by and must be initialized by the user . It contains the lo wer 32 bits of the 48-bit address used in the address rec[...]

  • Página 35

    MOTOROLA Chapter 6. Pr ogramming Model 6-3 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-2 describes the ADDR_LOW Þelds. 6.2.2 RAM P erfect Match Ad dress High (ADDR_HIGH) The ADDR_HIGH re gister , shown in Figure 6-2, is written by and must be initialized by the user . It contains bytes 4 and 5 of the 6-byte address used to compare wi[...]

  • Página 36

    6-4 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-4 describes HASH_T ABLE_HIGH Þelds. 6.2.4 RAM Hash T able Lo w (HASH_T ABLE_LO W) The HASH_T ABLE_LOW re gister , shown in Figure 6-4, contains the lo wer 32 bits of the 64-bit hash table used in the address recognition proc[...]

  • Página 37

    MOTOROLA Chapter 6. Pr ogramming Model 6-5 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-5 describes HASH_T ABLE_LOW Þelds. 6.2.5 Beginning of RxBD Ring (R_DES_ST ART) The R_DES_ST AR T register , shown in Figure 6-5, is like the RB ASE register used by other protocols. It provides a pointer to the start of the circular RxBD queue in e[...]

  • Página 38

    6-6 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-7 describes X_DES_ST AR T Þelds. 6.2.7 Receive Buffer Size Register (R_BUFF_SIZE) The R_BUFF_SIZE re gister , shown in Figure 6-7, is like the MRBLR re gister used by other protocols. It speciÞes the maximum size of all rec[...]

  • Página 39

    MOTOROLA Chapter 6. Pr ogramming Model 6-7 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-8 describes R_BUFF_SIZE Þelds. 6.2.8 Ethernet Contr ol Register (ECNTRL) The Ethernet control register (ECNTRL), sho wn in Figure 6-8, is used to enable and disable the FEC. It is written by the user and cleared at system reset. Bits 0 1 2 3 4 5 6 [...]

  • Página 40

    6-8 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-9 describes ECNTRL Þelds. 6.2.9 Interrupt Event (I_EVENT)/Interrupt Mask Register (I_MASK) When an e vent sets a bit in the interrupt e vent register (I_EVENT), sho wn in Figure 6-9, an interrupt is generated if the correspo[...]

  • Página 41

    MOTOROLA Chapter 6. Pr ogramming Model 6-9 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE and RFINT to notify at the end of frame. 6.2.10 Ethernet Interrupt V ector Register (IVEC) The Ethernet interrupt vector re gister (IVEC), shown in T able 6-11, indicates the class of interrupt generated by the FEC (IVEC) and provides control of the interrup[...]

  • Página 42

    6-10 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-11 describes IVEC Þelds. 6.2.11 RxBD Active Register (R_DES_A CTIVE) The RxBD acti ve register (R_DES_A CTIVE), shown in Figure 6-11, is a command register that should be written by the user to indicate that the RxBD ring w[...]

  • Página 43

    MOTOROLA Chapter 6. Pr ogramming Model 6-11 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-12 describes R_DES_A CTIVE Þelds. 6.2.12 TxBD Active Register (X_DES_A CTIVE) The TxBD acti ve re gister , sho wn in Figure 6-12, is a command register that the user should write to indicate that the TxBD ring w as updated (transmit buf fers hav e[...]

  • Página 44

    6-12 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-13 describes X_DES_A CTIVE Þelds. 6.2.13 MII Management Frame Register (MII_D A T A) The MII_D A T A register , sho wn in Figure 6-13, is used to communicate with the attached MII-compatible PHY de vice, providing read/writ[...]

  • Página 45

    MOTOROLA Chapter 6. Pr ogramming Model 6-13 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-14 describes MII_D A T A Þelds. T o read or write on the MII management interface, MII_D A T A is written by the user . T o generate a v alid read or write management frame, ST must be 01, OP must be 01 (management register write frame) or 10 (man[...]

  • Página 46

    6-14 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE completes. At this time the contents of MII_D A T A match the original value written e xcept for the D A T A Þeld, whose contents have been replaced by the v alue read from the PHY register . Writing to MII_D A T A during frame gene[...]

  • Página 47

    MOTOROLA Chapter 6. Pr ogramming Model 6-15 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE be non-zero to source a read or write management frame. After the management frame is complete, MII_SPEED may optionally cleared to turn of f the MDC. The MDC generated has a 50% duty cycle e xcept when MII_SPEED is changed during operation (changes take ef[...]

  • Página 48

    6-16 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE 6.2.16 FIFO Receive Star t Register (R_FST ART) The R_FST AR T register , shown in Figure 6-16, is programmed by the user to indicate the starting address of the recei ve FIFO. R_FST AR T marks the boundary between the transmit and r[...]

  • Página 49

    MOTOROLA Chapter 6. Pr ogramming Model 6-17 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE for the system bus. Setting the w atermark to a high value lo wers the risk of a transmit FIFO underrun due to system bus contention. T able 6-19 bit Þeld descriptions for X_WMRK. 6.2.18 FIFO T ransmit Start Register (X_FST AR T) The X_FST AR T register , [...]

  • Página 50

    6-18 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-20 describes X_FST AR T Þelds. 6.2.19 DMA Function Code Register (FUN_CODE) The FUN_CODE register , sho wn in Figure 6-19, contains the function code and byte order Þelds to be used during each transfer between the DMA and[...]

  • Página 51

    MOTOROLA Chapter 6. Pr ogramming Model 6-19 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-21 describes FUN_CODE Þelds. 6.2.20 Receive Contr ol Register (R_CNTRL) The R_CNTRL register, shown in Figure 6-20, is programmed by the user to control the operational mode of the recei ve block. Table 6-21. FUN_CODE Field Descriptions Bits Name [...]

  • Página 52

    6-20 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-22 describes R_CNTRL Þelds. 6.2.21 Receive Hash Register (R_HASH) With revision D of the MPC860T silicon, R_HASH[MAX_FRAME_LENGTH], shown in Figure 6-21, is programmable. This field lets the user set the frame length (in by[...]

  • Página 53

    MOTOROLA Chapter 6. Pr ogramming Model 6-21 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE T able 6-22 describes R_HASH Þelds. 6.2.22 T ransmit Contr ol Register (X_CNTRL) The transmit control register (X_CNTRL), sho wn in Figure 6-22, is written by the user to conÞgure the transmit block. T able 6-24 describes X_CNTRL Þelds. Table 6-23. R_HAS[...]

  • Página 54

    6-22 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE 6.3 Initialization Sequence This section describes which registers and RAM locations are reset due to hardw are reset, which are reset due to the microcontroller , and what locations the user must initialize before enabling the FEC. [...]

  • Página 55

    MOTOROLA Chapter 6. Pr ogramming Model 6-23 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE exact v alues depend on the application. The sequence resembles that sho wn in T able 6-27. 6.3.2.1 Descriptor Contr oller Initialization In the FEC, the descriptor control machine initializes a fe w registers whene ver ECNTRL[ETHER_EN] is set. The transmit[...]

  • Página 56

    6-24 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE (though these steps could also be done before setting ETHER_EN). 6.4 Buffer Descriptor s (BDs) Data for Fast Ethernet frames must reside in memory e xternal to the MPC860T device. Frame data is placed in one or more buf fers, each of[...]

  • Página 57

    MOTOROLA Chapter 6. Pr ogramming Model 6-25 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE The RxBD format is sho wn in T able 6-27. 0123456789 1 0 1 1 1 2 1 3 1 4 1 5 +0 E RO1 W R O 2 L 0 0 M B CM CL GN OS HC R O V T R +2 DA T A LENGTH +4 RX BUFFER POINTER A[0Ð15] +6 RX BUFFER POINTER A[16Ð31] Figure 6-23. Receive Buffer Descriptor (RxBD) Tabl[...]

  • Página 58

    6-26 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE 6.4.2 Ethernet T ransmit Buffer Descriptor (TxBD) Data is presented to the FEC for transmission by arranging it in buf fers referenced by the channelÕ s TxBDs. The FEC conÞrms transmission or indicates error conditions using BDs to[...]

  • Página 59

    MOTOROLA Chapter 6. Pr ogramming Model 6-27 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE On transmit, an underrun occurs if the transmit FIFO empties of data before the end of the frame. In this case, a bad CRC is appended to the partially transmitted data. In addition, the UN bit is set in the last BD in the current frame. This situation can o[...]

  • Página 60

    6-28 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Fr eescale S emiconduct or , I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Página 61

    MOTOROLA Chapter 7. Electrical Characteristics 7-1 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Chapter 7 Electrical Characteristics 70 10 This chapter contains detailed information on DC and A C electrical characteristics and A C timing speciÞcations for the MPC860T MII signals and a MPC860T pinout diagram. For information on maximum ratings,[...]

  • Página 62

    7-2 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Figure 7-1. MII Receive Signal Timing Diagram The recei ver functions correctly up to a RX_CLK maximum frequency of 25 MHz +1%. There is no minimum frequency requirement. In addition, the processor clock frequenc y must exceed the RX_[...]

  • Página 63

    MOTOROLA Chapter 7. Electrical Characteristics 7-3 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Figure 7-2. MII Transmit Signal Timing Diagram 7.3.3 MII Async Inputs Signal Timing (CRS, COL) T able 7-3 provides information on the MII async inputs signal timing, sho wn in Figure 7-3. Figure 7-3 sho ws the MII asynchronous inputs signal timing di[...]

  • Página 64

    7-4 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE 7.3.4 MII Serial Management Channel Timing (MDIO ,MDC) T able 7-4 provides information on the MII serial management channel signal timing, sho wn in Figure 7-4. The FEC functions correctly with a maximum MDC frequency in excess of 2.5[...]

  • Página 65

    MOTOROLA Chapter 7. Electrical Characteristics 7-5 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE 7.4 MPC860T Pin Assignments Figure 7-5 shows the MPC860T pin assignments. Pins that support the FEC are sho wn in black. Figure 7-5. MPC860T Pinout DiagramÑTop View The follo wing pins are marked as spare on the 860: ¥ B7: SP ARE1/MII_CRS ¥ H18: S[...]

  • Página 66

    7-6 MPC860T (Rev . D) Fast Ethernet Controller Supplement MOTOROLA PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Fr eescale S emiconduct or , I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Página 67

    MOTOROLA Chapter 7. Electrical Characteristics 7-7 PRELIMINAR YÑSUBJECT T O CHANGE WITHOUT NO TICE Fr eescale S emiconduct or , I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]

  • Página 68

    Fr eescale S emiconduct or , I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. ..[...]