
EMAC Functional Architecture | www.ti.com |
2.9EMAC Module
This section discusses the architecture and basic functions of the EMAC
2.9.1EMAC Module Components
There are two EMAC modules integrated with the TCI6486/C6472 device. EMAC0 interfaces with PHY through one of five interfaces: MII, GMII, S3MII, RMII, or RGMII. EMAC1 interfaces with PHY through one of three interfaces: S3MII, RMII, or RGMII. In Figure 22, the number associated with each MII interface shows the EMAC module with which the interface is available. For example: RMII0 is EMAC0 interface, RMII1 is EMAC1 interface.
Figure 22. EMAC Module Block Diagram
Configurationbus | Clockand |
| Receive |
| |
resetlogic |
| address |
| ||
|
|
| |||
| Receive | Receive | MAC | MII0/GMII0 | |
| DMA engine | FIFO | receiver | ||
CPPI |
| ||||
|
|
|
| ||
buffer |
|
|
|
| |
manager | Transmit | Transmit | MAC | RMII0,RMII1 | |
| SYNC | ||||
| DMA engine | FIFO | transmitter | ||
|
| ||||
|
|
|
| RGMII0,RGMII1 | |
EMIC | Interrupt | State | Statistics | S3MII0,S3MII1 | |
controller | RAM | ||||
|
|
| |||
Configurationbus | Control |
|
|
| |
registers |
|
|
| ||
|
|
|
|
Each EMAC peripheral used has the following components:
•The receive path:
–Receive DMA engine
The receive DMA engine performs the data transfer between the receive FIFO and the device internal or external memory. It interfaces to the processor through the bus arbiter in the CPPI buffer manager. This DMA engine is totally independent of the TCI6486/C6472 DSP EDMA.
–Receive FIFO
The receive FIFO consists of 68 cells of 64 bytes each and the associated control logic. The FIFO buffers receive data in preparation for writing into packet buffers in device memory and also enable receive FIFO flow control.
–MAC receiver
The MAC receiver detects and processes incoming network frames,
–Receive address
The receive address
The RAM may contain multicast packet addresses, but the associated channel must have the unicast enable bit set, even though it is a multicast address. The unicast enable bits are used with multicast addresses in the receive address RAM (not the multicast hash enable bits). Therefore, hash matches can be disabled, but specific multicast addresses can be matched (or filtered) in the RAM. If a multicast packet hash matches, the packet may still be filtered in the RAM. Each packet
52 | C6472/TCI6486 EMAC/MDIO | SPRUEF8F |
Submit Documentation Feedback
Copyright ©