Manuals
/
Texas Instruments
/
Computer Equipment
/
Network Card
Texas Instruments
TMS320C645x DSP
manual
Submit Documentation Feedback
Models:
TMS320C645x DSP
1
2
148
148
Download
148 pages
32.4 Kb
1
2
3
4
5
6
7
8
Error codes
Functional Block Diagram
Signal Name Description
Host Error Interrupt
Pausetimer
Receive DMA Host Configuration
Clock and Reset Logic
Multiple Access Protocol
Interface Selection Pins
Power Management
Page 2
Image 2
2
SPRU975B
–August
2006
Submit Documentation Feedback
Page 1
Page 3
Page 2
Image 2
Page 1
Page 3
Contents
Users Guide
Submit Documentation Feedback
Contents
Receive Unicast Clear Register Rxunicastclear
Appendix a
Appendix B
List of Figures
Transmit Pacing Algorithm Test Register Tpacetest
List of Tables
MAC Control Register Maccontrol Field Descriptions
Read This First
Features
Purpose of the Peripheral
Functional Block Diagram
Emac and Mdio Block Diagram
Industry Standards Compliance Statement
Rmii Clocking
Clock Control
MII Clocking
Gmii Clocking
Memory Map
Rgmii Clocking
Media Independent Interface MII Connections
Interface Selection Pins
System Level Connections
Mrxdv
Emac and Mdio Signals for MII Interface
Mtxen
Control
Mrxer Mdclk Mdio
Reduced Media Independent Interface Rmii Connections
Mtxen Mcrsdv Mrefclk
Emac and Mdio Signals for Rmii Interface
Gigabit Media Independent Interface Gmii Connections
Mtclk Gmtclk
Emac and Mdio Signals for Gmii Interface
Signal Name Description
Rxctl Mdclk Mdio
TXC
Txctl Refclk RXC
Emac and Mdio Signals for Rgmii Interface
TXC
Ethernet Frame Description
Ethernet Protocol Overview
Ethernet Frame Format
Multiple Access Protocol
Basic Descriptors
Programming Interface
Packet Buffer Descriptors
Typical Descriptor Linked List
Transmit and Receive Descriptor Queues
Transmit and Receive Emac Interrupts
SOP EOP Owner EOQ Tdown Pass
Transmit Buffer Descriptor Format
Example 1. Transmit Descriptor in C Structure Format
Cmplt CRC
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
Example 2. Receive Descriptor in C Structure Format
Next Descriptor Pointer
Jabber Flag
Oversize Flag
CRC Error Crcerror Flag
Code Error Codeerror Flag
Alignment Error Alignerror Flag
Fragment Flag
Bus Arbiter
Emac Control Module
Internal Memory
CPU
Mdio Module Components
Management Data Input/Output 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
Initializing the Mdio Module
Reading Data From a PHY Register
Example of Mdio Register Access Code
Writing Data to a PHY Register
Example 3. Mdio Register Access Macros
#define PHYREGreadregadr, phyadr
Receive DMA Engine
Emac Module
Emac Module Components
Receive Fifo
Transmit DMA Engine
MAC Receiver
Receive Address
Transmit Fifo
Clock and Reset Logic
Emac Module Operational Overview
Receive Control
Media Independent Interfaces
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 Channel Addressing
Hardware Receive QOS Support
Receive Frame Classification
Host Free Buffer Tracking
Receive Channel Teardown
Promiscuous Receive Mode
Receive Frame Treatment Summary
Receive Overrun
Middle of Frame Overrun Treatment
Receive and Transmit Latency
Transmit DMA Host Configuration
Packet Transmit Operation
Transmit Channel Teardown
Hardware Reset Considerations
Reset Considerations
Software Reset Considerations
Transfer Node Priority
Emac Control Module Initialization
Initialization
Enabling the EMAC/MDIO Peripheral
Example 5. Mdio Module Initialization Code
Example 4. Emac Control Module Initialization Code
Mdio Module Initialization
Emac Module Initialization
Transmit Packet Completion Interrupts
Interrupt Support
Emac Module Interrupt Events and Requests
Receive Packet Completion Interrupts
Statistics Interrupt
Mdio Module Interrupt Events and Requests
Host Error Interrupt
User Access Completion Interrupt
Link Change Interrupt
Proper Interrupt Processing
Power Management
Emulation Considerations
Interrupt Multiplexing
Emac Control Module Registers
Introduction
Emac Control Module Interrupt Control Register Ewctl
Ewint
Tcnt
Management Data Input/Output Mdio Registers
Modid Revmaj Revmin
Mdio Version Register Version
Mdio Version Register Version Field Descriptions
Modid
Mdio Control Register Control
Mdio Control Register Control Field Descriptions
PHY Acknowledge Status Register Alive
PHY Acknowledge Status Register Alive Field Descriptions
PHY Link Status Register Link
PHY Link Status Register Link Field Descriptions
31-2
Linkint Masked
Userintraw
Will clear the interrupt and writing 0 has no effect
Maskset
Userintmask
Clear
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
RX7FREEBUFFER
Macconfig
Softreset
Maccontrol
TX6CP
Rxcrcerrors
Rxaligncodeerrors
TX7CP
Rxsofoverruns
FRAME1024TUP
Netoctets
Rxmofoverruns
Txident
Transmit Identification and Version Register Txidver
Txident Txmajorver Txminorver
Txen
Transmit Control Register Txcontrol
Transmit Control Register Txcontrol Field Descriptions
Txtdnch
Transmit Teardown Register Txteardown
Transmit Teardown Register Txteardown Field Descriptions
Rxident
Receive Identification and Version Register Rxidver
Rxident Rxmajorver Rxminorver
Rxen
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
Transmit Interrupt Status Masked Register Txintstatmasked
Transmit Interrupt Status Masked Register Txintstatmasked
Transmit Interrupt Mask Set Register Txintmaskset
Transmit Interrupt Mask Clear Register Txintmaskclear
Transmit Interrupt Mask Clear Register Txintmaskclear
MAC Input Vector Register Macinvector
MAC Input Vector Register Macinvector Field Descriptions
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
MAC Interrupt Status Unmasked Register Macintstatraw
Host Stat Pend
MAC Interrupt Status Masked Register Macintstatmasked
MAC Interrupt Status Masked Register Macintstatmasked
Hostmask
MAC Interrupt Mask Set Register Macintmaskset
Host Stat Mask
Statmask
MAC Interrupt Mask Clear Register Macintmaskclear
MAC Interrupt Mask Clear Register Macintmaskclear
Rxcsfen Rxcefen Rxcafen
Rxpasscrc Rxqosen Rxnochain
Rxcmfen
Rxpromch
Rxmulten
Rxbroaden
Rxbroadch
RXCH6EN RXCH5EN RXCH4EN RXCH3EN RXCH2EN RXCH1EN RXCH0EN
Receive Unicast Enable Set Register Rxunicastset
Rxmultch
RXCH7EN
Receive Unicast Clear Register Rxunicastclear
Receive Unicast Clear Register Rxunicastclear
Receive Maximum Length Register Rxmaxlen
Receive Maximum Length Register Rxmaxlen Field Descriptions
Offset
Receive Buffer Offset Register Rxbufferoffset
Rxbuffer
Rxfilterthresh
Reserved RX nFLOW
Thresh
Receive Channel 0-7 Free Buffer Count Register RXnFREEBUFFER
MAC Control Register Maccontrol
MAC Control Register Maccontrol Field Descriptions
GIG
Cmdidle
Txptype
Txpace
Txerrcode
MAC Status Register Macstatus
MAC Status Register Macstatus Field Descriptions
Txerrch
Rgmiigig
Rxerrcode
Rxerrch
Rgmiifull
Soft Free
Emulation Control Register Emcontrol
Emulation Control Register Emcontrol Field Descriptions
Soft
Rxfifoflowthresh
Fifo Control Register Fifocontrol
Fifo Control Register Fifocontrol Field Descriptions
Txcellthresh
Txcelldepth Rxcelldepth Addresstype Maccfig
MAC Configuration Register Macconfig
MAC Configuration Register Macconfig Field Descriptions
Txcelldepth
Soft Reset Register Softreset
Soft Reset Register Softreset Field Descriptions
MACSRCADDR0
MAC Source Address Low Bytes Register Macsrcaddrlo
MACSRCADDR0 MACSRCADDR1
MACSRCADDR2
MAC Source Address High Bytes Register Macsrcaddrhi
MACSRCADDR2 MACSRCADDR3 MACSRCADDR4 MACSRCADDR5
MAC Hash Address Register 1 MACHASH1
MAC Hash Address Register 1 MACHASH1 Field Descriptions
MAC Hash Address Register 2 MACHASH2
MAC Hash Address Register 2 MACHASH2 Field Descriptions
Rndnum
Back Off Test Register Bofftest
Back Off Test Register Bofftest Field Descriptions
Collcount
Transmit Pacing Algorithm Test Register Tpacetest
Paceval
Pausetimer
Receive Pause Timer Register Rxpause
Receive Pause Timer Register Rxpause Field Descriptions
Transmit Pause Timer Register Txpause
Transmit Pause Timer Register Txpause Field Descriptions
Valid Match Channel Filt MACADDR0 MACADDR1
MAC Address Low Bytes Register Macaddrlo
MAC Address Low Bytes Register Macaddrlo Field Descriptions
Valid
MACADDR2
MAC Address High Bytes Register Macaddrhi
MACADDR2 MACADDR3 MACADDR4 MACADDR5
MAC Index Register Macindex
MAC Index Register Macindex Field Descriptions
TX nHDP
RX nHDP
Transmit Channel 0-7 Completion Pointer Register TXnCP
Transmit Channel n Completion Pointer Register TX nCP
Receive Channel 0-7 Completion Pointer Register RXnCP
Receive Channel n Completion Pointer Register RX nCP
Good Receive Frames Register Rxgoodframes
Network Statistics Registers
Statistics Register Field Descriptions
Broadcast Receive Frames Register Rxbcastframes
Multicast Receive Frames Register Rxmcastframes
Receive CRC Errors Register Rxcrcerrors
Receive Alignment/Code Errors Register Rxaligncodeerrors
Pause Receive Frames Register Rxpauseframes
Receive Undersized Frames Register Rxundersized
Receive Oversized Frames Register Rxoversized
Receive Jabber Frames Register Rxjabber
Receive Frame Fragments Register Rxfragments
Receive Octet Frames Register Rxoctets
Filtered Receive Frames Register Rxfiltered
Receive QOS Filtered Frames Register Rxqosfiltered
Good Transmit Frames Register Txgoodframes
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
144
Appendix a Glossary
Table A-1. Physical Layer Definitions
Term Definition
Appendix B Revision History
Table B-1. Document Revision History
Important Notice
Top
Page
Image
Contents