
Ethernet Module
MCF5272 ColdFire
®
Integrated Microprocessor User’s Manual, Rev. 3
11-34
Freescale Semiconductor
11.5.24 FEC Initialization
In the FEC, the descriptor control machine initializes a few registers whenever the ETHER_EN control is
asserted. The transmit and receive FIFO pointers are reset, the transmit backoff random number is
initialized, and the transmit and receive blocks are activated. After the FEC initialization sequence is
complete, the hardware is ready for operation, waiting for RDAR and TDAR to be asserted by the user.
11.5.24.1 User Initialization (after setting ETHER_EN)
The user initializes portions of the FEC after setting ETHER_EN. The exact values depend on the
particular application. The sequence probably resembles the steps shown in
could also be done before asserting ETHER_EN.
11.6
Buffer Descriptors
Data associated with the FEC controller is stored in buffers, which are referenced by buffer descriptors
(BDs) organized as tables in the dual-port RAM. These tables have the same basic configuration as those
used by the USB.
The BD table allows users to define separate buffers for transmission and reception. Each table forms a
circular queue, or ring. The FEC uses status and control fields in the BDs to inform the core that the buffers
have been serviced, to confirm reception and transmission events, or to indicate error conditions.
7
Set HTUR and HTLR
8
Set EMRBR
9
Set ERDSR
10
Set ETDSR
11
Set RCR
12
Set TCR
13
Set MSCR (optional)
14
Initialize (Empty) TxBD
15
Initialize (Empty) RxBD
Table 11-33. User Initialization (after ETHER_EN)
Step Description
1
Fill Receive Descriptor Ring with Empty Buffers
2
Set RDAR
Table 11-32. User Initialization Process (before ETHER_EN) (continued)
Step Description
Содержание MCF5272 ColdFire
Страница 2: ......
Страница 38: ...MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 xxxviii Freescale Semiconductor...
Страница 60: ...MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 lx Freescale Semiconductor...
Страница 118: ...Local Memory MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 4 16 Freescale Semiconductor...
Страница 160: ...Debug Support MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 5 42 Freescale Semiconductor...
Страница 258: ...Ethernet Module MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 11 40 Freescale Semiconductor...
Страница 296: ...Universal Serial Bus USB MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 12 38 Freescale Semiconductor...
Страница 360: ...Timer Module MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 15 6 Freescale Semiconductor...
Страница 406: ...General Purpose I O Module MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 17 12 Freescale Semiconductor...
Страница 474: ...Bus Operation MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 20 26 Freescale Semiconductor...
Страница 528: ...List of Memory Maps MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 A 12 Freescale Semiconductor...
Страница 540: ...Index MCF5272 ColdFire Integrated Microprocessor User s Manual Rev 3 Index 10 Freescale Semiconductor...
Страница 543: ...blank...