Manuals
/
Texas Instruments
/
Computer Equipment
/
Network Card
Texas Instruments
TMS320DM36X
manual
Submit Documentation Feedback
Models:
TMS320DM36X
1
2
134
134
Download
134 pages
23.68 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
SPRUFI5B
–March
2009
–Revised
December 2010
Submit Documentation Feedback
©
2009–2010,
Texas Instruments Incorporated
Page 1
Page 3
Page 2
Image 2
Page 1
Page 3
Contents
Users Guide
Submit Documentation Feedback
Mdio Registers
Mdio Version Register Version Mdio Control Register Control
Appendix a
Appendix B
List of Figures
Transmit Interrupt Mask Set Register Txintmaskset
List of Tables
MAC Control Register Maccontrol Field Descriptions
Read This First
Related Documentation From Texas Instruments
Related Documentation From Texas Instruments
Features
Purpose of the Peripheral
Functional Block Diagram
Emac and Mdio Block Diagram
MII Clocking
Industry Standards Compliance Statement
Clock Control
Media Independent Interface MII Connections
Signal Descriptions
Memory Map
Pin Multiplexing
Emac and Mdio Signals for MII Interface
Signal Type Description
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
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
Receive Pulse Interrupt
Interrupt Control
Transmit Pulse Interrupt
Interrupt Pacing
Receive Threshold Pulse Interrupt
Miscellaneous Pulse Interrupt
Mdio Clock Generator
Mdio Module
Mdio Module Components
Global PHY Detection and Link State Monitoring
Mdio Module Operational Overview
PHY Register User Access
Active PHY Monitoring
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
Receive Address
Clock and Reset Logic
MAC Receiver
Transmit DMA Engine
Emac Module Operational Overview
Receive Control
Media Independent Interface MII
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
Hardware Receive QOS Support
Receive Frame Classification
Host Free Buffer Tracking
Receive Channel Teardown
Receive Frame Treatment
Promiscuous Receive Mode
Receive Frame Treatment Summary
Middle of Frame Overrun Treatment
Receive Overrun
Middle of Frame Overrun Treatment
Receive and Transmit Latency
Transmit DMA Host Configuration
Packet Transmit Operation
Transmit Channel Teardown
Transfer Node Priority
Reset Considerations
Software Reset Considerations
Enabling the EMAC/MDIO Peripheral
Hardware Reset Considerations
Initialization
Emac Control Module Initialization
Example 4. Emac Control Module Initialization Code
Mdio Module Initialization
Example 5. Mdio Module Initialization Code
Emac Module Initialization
Receive Threshold Interrupts
Interrupt Support
Emac Module Interrupt Events and Requests
Transmit Packet Completion Interrupts
Receive Packet Completion Interrupts
Host Error Interrupt
Statistics Interrupt
Link Change Interrupt
User Access Completion Interrupt
Mdio Module Interrupt Events and Requests
Proper Interrupt Processing
Emulation Control
Power Management
Emulation Considerations
Soft Free Description
Acronym Register Description
Emac Control Module Registers
Slave Vbus
Bit Field Value Description
Emac Control Module Emulation Control Register Cmemcontrol
Emac Control Module Software Reset Register Cmsoftreset
Softreset
Soft Free
Intprescale
Emac Control Module Interrupt Control Register Cmintctrl
Intpaceen
Rxthreshen
Rxpulseen
Txpulseen
Statpendinten
Statpendinten Hostpendinten Linkinten Userinten
Bit Field
Rxthreshinttstat
Rxpulseinttstat
Txpulseinttstat
31-8 Reserved TXPULSEINTTSTATn
Statpendintstat Hostpendintstat Linkintstat Userintstat
Statpendintstat
Rximax
Tximax
Mdio Version Register Version Field Descriptions
Mdio Version Register Version
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
31-2 Reserved
Will clear the event and writing a 0 has no effect
No Mdio user command complete event
USERINTMASKED0 and USERINTMASKED1 correspond to USERACCESS0
W1S-0
Mdio User Command Complete Interrupt Mask Clear Register
Mdio User Command Complete Interrupt Mask Clear Register
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
Offset Acronym Register Description
Network Statistics Registers
Transmit Control Register Txcontrol Field Descriptions
Transmit Identification and Version Register Txidver
Transmit Control Register Txcontrol
Txtdnch
Transmit Teardown Register Txteardown
Transmit Teardown Register Txteardown Field Descriptions
Rxmajorver Rxminorver
Receive Identification and Version Register Rxidver
Rxident
Rxmajorver
Receive Control Register Rxcontrol Field Descriptions
Receive Control Register Rxcontrol
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
MAC Input Vector Register Macinvector Field Descriptions
MAC Input Vector Register Macinvector
MAC End Of Interrupt Vector Register Maceoivector
Statpend
Receive Interrupt Status Unmasked Register Rxintstatraw
RX7PEND
Receive Interrupt Status Masked Register Rxintstatmasked
Receive Interrupt Status Masked Register Rxintstatmasked
Receive Interrupt Mask Set Register Rxintmaskset
RX7MASK
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
RXCH7EN
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
Rxfilterthresh
Receive Channel 0-7 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 0-7 Completion Pointer Register TXnCP
Receive Channel 0-7 Completion Pointer Register RXnCP
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 Oversized Frames Register Rxoversized
Receive Frame Fragments Register Rxfragments
Receive Jabber Frames Register Rxjabber
Receive Undersized Frames Register Rxundersized
Filtered Receive Frames Register Rxfiltered
Good Transmit Frames Register Txgoodframes
Receive QOS Filtered Frames Register Rxqosfiltered
Receive Octet Frames Register Rxoctets
Broadcast Transmit Frames Register Txbcastframes
Transmit Collision Frames Register Txcollision
Pause Transmit Frames Register Txpauseframes
Deferred Transmit Frames Register Txdeferred
Transmit Single Collision Frames Register Txsinglecoll
Transmit Late Collision Frames Register Txlatecoll
Transmit Underrun Error Register Txunderrun
Transmit Carrier Sense Errors Register Txcarriersense
Transmit Octet Frames Register Txoctets
Submit Documentation Feedback
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
Top
Page
Image
Contents