Manuals
/
Texas Instruments
/
Computer Equipment
/
Switch
Texas Instruments
TMS320C674X
manual
Submit Documentation Feedback
Models:
TMS320C674X
1
2
136
136
Download
136 pages
20.2 Kb
1
2
3
4
5
6
7
8
Error codes
Functional Block Diagram
Signal Descriptions
Host Error Interrupt
Pausetimer
Receive DMA Host Configuration
Clock and Reset Logic
PHY Register User Access
Power Management
Features
Page 2
Image 2
2
SPRUFL5B
–April
2011
Submit Documentation Feedback
© 2011, Texas Instruments Incorporated
Page 1
Page 3
Page 2
Image 2
Page 1
Page 3
Contents
Users Guide
Submit Documentation Feedback
C0MISCEN-C2MISCEN
C0TXIMAX-C2TXIMAX
Appendix a
Appendix B
List of Figures
MAC Interrupt Mask Clear Register Macintmaskclear
List of Tables
MAC Control Register Maccontrol Field Descriptions
Read This First
Related Documentation From Texas Instruments
Features
Purpose of the Peripheral
Functional Block Diagram
Emac and Mdio Block Diagram
Clock Control
Signal Descriptions
Industry Standards Compliance Statement
Memory Map
Emac and Mdio Signals for MII Interface
Signal Type Description
Emac and Mdio Signals for Rmii Interface
Reduced Media Independent Interface Rmii Connections
Ethernet Frame Description
Ethernet Protocol Overview
Ethernet Frame Format
Field Bytes Description
Packet Buffer Descriptors
Ethernet’s Multiple Access Protocol
Programming Interface
Word
Basic Descriptor Description
Field Field Description
Transmit and Receive Descriptor Queues
Transmit and Receive Emac Interrupts
Transmit Buffer Descriptor Format
Transmit Buffer Descriptor Format
Example 1. Transmit Buffer Descriptor in C Structure Format
Buffer Offset
Next Descriptor Pointer
Buffer Pointer
Buffer Length
End of Queue EOQ Flag
End of Packet EOP Flag
Ownership Owner Flag
Teardown Complete Tdowncmplt Flag
Receive Buffer Descriptor Format
Receive Buffer Descriptor Format
Example 2. Receive Buffer Descriptor in C Structure Format
Buffer Length
CRC Error Crcerror Flag
Code Error Codeerror Flag
Alignment Error Alignerror Flag
Jabber Flag
Bus Arbiter
Emac Control Module
Internal Memory
CPU
Mdio Module Components
Mdio Module
Interrupt Control
Global PHY Detection and Link State Monitoring
PHY Register User Access
Mdio Clock Generator
Active PHY Monitoring
Mdio Module Operational Overview
Reading Data From a PHY Register
Initializing the Mdio Module
Writing Data To a PHY Register
Example of Mdio Register Access Code
Example 3. Mdio Register Access Macros
Receive DMA Engine
Emac Module
Emac Module Components
Receive Fifo
Transmit Fifo
Clock and Reset Logic
Transmit DMA Engine
MAC Transmitter
Receive Control
MAC Interface
Data Reception
Receive Inter-Frame Interval
Collision-Based Receive Buffer Flow Control
Ieee 802.3x-Based Receive Buffer Flow Control
Adaptive Performance Optimization APO
Transmit Control
CRC Insertion
Interpacket-Gap IPG Enforcement
Transmit Flow Control
Speed, Duplex, and Pause Frame Support
Receive Channel Enabling
Receive DMA Host Configuration
Packet Receive Operation
Receive Address Matching
Receive Channel Teardown
Hardware Receive QOS Support
Host Free Buffer Tracking
Promiscuous Receive Mode
Receive Frame Classification
Receive Frame Treatment Summary
Receive Frame Treatment
Middle of Frame Overrun Treatment
Receive Overrun
Middle of Frame Overrun Treatment
Transmit Channel Teardown
Transmit DMA Host Configuration
Packet Transmit Operation
Receive and Transmit Latency
Transfer Node Priority
Hardware Reset Considerations
Reset Considerations
Software Reset Considerations
Emac Control Module Initialization
Initialization
Enabling the EMAC/MDIO Peripheral
Mdio Module Initialization
Emac Module Initialization
Macintmaskset
Transmit Packet Completion Interrupts
Interrupt Support
Emac Module Interrupt Events and Requests
Receive Packet Completion Interrupts
Host Error Interrupt
Statistics Interrupt
Link Change Interrupt
Receive Threshold Interrupts
Mdio Module Interrupt Events and Requests
Interrupt Multiplexing
User Access Completion Interrupt
Proper Interrupt Processing
Emulation Control
Power Management
Emulation Considerations
Emac Control Module Registers
Acronym Register Description
Bit Field Value Description
Emac Control Module Revision ID Register Revid
Offset Acronym Register Description
Emac Control Module Software Reset Register Softreset
Reset
C2TXPACEEN
Emac Control Module Interrupt Control Register Intcontrol
Intprescale
Bit Field
RXCH7EN
TXCH7EN
Statpenden Hostpenden LINKINT0EN USERINT0EN
Statpenden
RXCH5THRESHSTAT
RXCH7THRESHSTAT
RXCH6THRESHSTAT
RXCH4THRESHSTAT
RXCH7STAT
TXCH7STAT
LINKINT0STAT
Statpendstat
Hostpendstat
USERINT0STAT
Rximax
Allowemacinterrupts
Tximax
Mdio Revision ID Register Revid Field Descriptions
Mdio Revision ID Register Revid
Management Data Input/Output Mdio Registers
Mdio Control Register Control
Mdio Control Register Control Field Descriptions
PHY Acknowledge Status Register Alive Field Descriptions
PHY Acknowledge Status Register Alive
PHY Link Status Register Link
PHY Link Status Register Link Field Descriptions
USERPHY1 USERPHY0
USERPHY1
Writing a 0 has no effect
USERACCESS1 USERACCESS0
Effect
W1S-0
Mdio User Command Complete Interrupt Mask Clear Register
Userintmaskclear
Mdio User Access Register 0 USERACCESS0
Mdio User Access Register 0 USERACCESS0 Field Descriptions
Phyadrmon
Mdio User PHY Select Register 0 USERPHYSEL0
Linksel Linkintenb
Linksel
Mdio User Access Register 1 USERACCESS1
Mdio User Access Register 1 USERACCESS1 Field Descriptions
Mdio User PHY Select Register 1 USERPHYSEL1
Mdio User PHY Select Register 1 USERPHYSEL1
Ethernet Media Access Controller Emac Registers
Emcontrol
Macconfig
Macstatus
Fifocontrol
Network Statistics Registers
Transmit Revision ID Register Txrevid Field Descriptions
Transmit Revision ID Register Txrevid
Transmit Control Register Txcontrol
Transmit Control Register Txcontrol Field Descriptions
Txtdnch
Transmit Teardown Register Txteardown
Transmit Teardown Register Txteardown Field Descriptions
Receive Revision ID Register Rxrevid Field Descriptions
Receive Revision ID Register Rxrevid
Receive Control Register Rxcontrol
Receive Control Register Rxcontrol Field Descriptions
Rxtdnch
Receive Teardown Register Rxteardown
Receive Teardown Register Rxteardown Field Descriptions
Transmit Interrupt Status Unmasked Register Txintstatraw
TX7PEND
Transmit Interrupt Status Masked Register Txintstatmasked
Transmit Interrupt Status Masked Register Txintstatmasked
Transmit Interrupt Mask Set Register Txintmaskset
TX7MASK
Transmit Interrupt Mask Clear Register Txintmaskclear
Transmit Interrupt Mask Clear Register Txintmaskclear
Statpend
MAC Input Vector Register Macinvector
MAC Input Vector Register Macinvector Field Descriptions
RX0THRESHPEND
MAC End Of Interrupt Vector Register Maceoivector
Intvect
Receive Interrupt Status Unmasked Register Rxintstatraw
Receive Interrupt Status Masked Register Rxintstatmasked
Receive Interrupt Status Masked Register Rxintstatmasked
Receive Interrupt Mask Set Register Rxintmaskset
Receive Interrupt Mask Clear Register Rxintmaskclear
Receive Interrupt Mask Clear Register Rxintmaskclear
Hostpend Statpend
MAC Interrupt Status Unmasked Register Macintstatraw
MAC Interrupt Status Masked Register Macintstatmasked
Hostmask Statmask
MAC Interrupt Mask Set Register Macintmaskset
MAC Interrupt Mask Clear Register Macintmaskclear
Hostmask
Rxcsfen Rxcefen Rxcafen
Rxpasscrc Rxqosen Rxnochain
Rxcmfen
Rxpromch
Frames containing errors are filtered
Receive multicast channel select
Receive Unicast Enable Set Register Rxunicastset
Receive Unicast Enable Set Register Rxunicastset
Receive Unicast Clear Register Rxunicastclear
Receive Unicast Clear Register Rxunicastclear
Receive Maximum Length Register Rxmaxlen Field Descriptions
Receive Maximum Length Register Rxmaxlen
Receive Buffer Offset Register Rxbufferoffset
Receive Channel Flow Control Threshold Registers
Rxfilterthresh
Receive Channel n Free Buffer Count Register RXnFREEBUFFER
MAC Control Register Maccontrol
MAC Control Register Maccontrol Field Descriptions
Loopback
Txflowen
Rxbufferflowen
Fullduplex
MAC Status Register Macstatus
MAC Status Register Macstatus Field Descriptions
Rxqosact
Emulation Control Register Emcontrol Field Descriptions
Emulation Control Register Emcontrol
Fifo Control Register Fifocontrol
Fifo Control Register Fifocontrol Field Descriptions
MAC Configuration Register Macconfig Field Descriptions
MAC Configuration Register Macconfig
Soft Reset Register Softreset
Soft Reset Register Softreset Field Descriptions
MAC Source Address Low Bytes Register Macsrcaddrlo
MAC Source Address High Bytes Register Macsrcaddrhi
MAC Hash Address Register 1 MACHASH1 Field Descriptions
MAC Hash Address Register 1 MACHASH1
MAC Hash Address Register 2 MACHASH2
MAC Hash Address Register 2 MACHASH2 Field Descriptions
Back Off Test Register Bofftest Field Descriptions
Back Off Test Register Bofftest
Transmit Pacing Algorithm Test Register Tpacetest
Receive Pause Timer Register Rxpause Field Descriptions
Receive Pause Timer Register Rxpause
Transmit Pause Timer Register Txpause
Transmit Pause Timer Register Txpause Field Descriptions
Valid Matchfilt Channel MACADDR0 MACADDR1
MAC Address Low Bytes Register Macaddrlo
MAC Address Low Bytes Register Macaddrlo Field Descriptions
Valid
MAC Index Register Macindex Field Descriptions
MAC Address High Bytes Register Macaddrhi
MAC Index Register Macindex
MACADDR2 MACADDR3 MACADDR4 MACADDR5
TXnHDP
Transmit Channel Completion Pointer Registers TX0CP-TX7CP
Receive Channel Completion Pointer Registers RX0CP-RX7CP
Broadcast Receive Frames Register Rxbcastframes
Network Statistics Registers
Good Receive Frames Register Rxgoodframes
Multicast Receive Frames Register Rxmcastframes
Pause Receive Frames Register Rxpauseframes
Receive CRC Errors Register Rxcrcerrors
Receive Alignment/Code Errors Register Rxaligncodeerrors
Receive Undersized Frames Register Rxundersized
Receive Oversized Frames Register Rxoversized
Receive Jabber Frames Register Rxjabber
Receive Frame Fragments Register Rxfragments
Good Transmit Frames Register Txgoodframes
Receive QOS Filtered Frames Register Rxqosfiltered
Receive Octet Frames Register Rxoctets
Pause Transmit Frames Register Txpauseframes
Broadcast Transmit Frames Register Txbcastframes
Multicast Transmit Frames Register Txmcastframes
Deferred Transmit Frames Register Txdeferred
Transmit Multiple Collision Frames Register Txmulticoll
Transmit Underrun Error Register Txunderrun
Transmit Single Collision Frames Register Txsinglecoll
Transmit Late Collision Frames Register Txlatecoll
Transmit and Receive 64 Octet Frames Register FRAME64
Transmit Carrier Sense Errors Register Txcarriersense
Transmit Octet Frames Register Txoctets
Network Octet Frames Register Netoctets
Receive DMA Overruns Register Rxdmaoverruns
Appendix a Glossary
Physical Layer Definitions
Term Definition
Document Revision History
Reference Additions/Modifications/Deletions
Rfid
Products Applications
DSP
TI E2E Community Home
Top
Page
Image
Contents