SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Table 43-77 lists the memory-mapped registers for the ETHERNETSS_REGS registers. All register offset addresses not listed in Table 43-77 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Write Protection | Section |
|---|---|---|---|---|
| 0h | ETHERNETSS_IPREVNUM | IP Revision Number | Go | |
| 4h | ETHERNETSS_CTRLSTS | Control Register | LOCK | Go |
| 8h | ETHERNETSS_PTPTSTRIGSEL0 | PTP Trigger-0 select | LOCK | Go |
| Ch | ETHERNETSS_PTPTSTRIGSEL1 | PTP Trigger-1 select | LOCK | Go |
| 10h | ETHERNETSS_PTPTSSWTRIG0 | PTP SW Trigger-0 | Go | |
| 14h | ETHERNETSS_PTPTSSWTRIG1 | PTP SW Trigger-1 | Go | |
| 18h | ETHERNETSS_PTPPPSR0 | PTP PPS-0 Read | Go | |
| 1Ch | ETHERNETSS_PTPPPSR1 | PTP PPS-1 Read | Go | |
| 20h | ETHERNETSS_PTP_TSRL | PTP timestamp read lower 32 bits | Go | |
| 24h | ETHERNETSS_PTP_TSRH | PTP timestamp read upper 32 bits | Go | |
| 28h | ETHERNETSS_PTP_TSWL | External Timestamp write lower 32 bits | Go | |
| 2Ch | ETHERNETSS_PTP_TSWH | External Timestamp write upper 32 bits | Go | |
| 30h | ETHERNETSS_REVMII_CTRL | RevMII Phy Address controls | LOCK | Go |
Complex bit access types are encoded to fit into small table cells. Table 43-78 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| R-0 | R -0 | Read Returns 0s |
| RC | R C | Read to Clear |
| Write Type | ||
| W | W | Write |
| W1S | W 1S | Write 1 to set |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
| Register Array Variables | ||
| i,j,k,l,m,n | When these variables are used in a register name, an offset, or an address, they refer to the value of a register array where the register is part of a group of repeating registers. The register groups form a hierarchical structure and the array is represented with a formula. | |
| y | When this variable is used in a register name, an offset, or an address it refers to the value of a register array. | |
ETHERNETSS_IPREVNUM is shown in Figure 43-27 and described in Table 43-79.
Return to the Summary Table.
IP Revision number showing the Major & Minor IP versions 4 bit each
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||||||||||
| R-0-0h | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | IP_REV_MAJOR | IP_REV_MINOR | |||||||||||||
| R-0-0h | R-0h | R-0h | |||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-8 | RESERVED | R-0 | 0h | Reserved |
| 7-4 | IP_REV_MAJOR | R | 0h | Major IP Type increment is hardcoded reset value which increments to signify major change in IP behavior in terms of data/control flow or new feature addition. Reset type: CM.SYSRESETn |
| 3-0 | IP_REV_MINOR | R | 0h | Reset value for this register is hardcoded and increments with minor changes to the IP those will not increment IP Type, but the bug fixes and changes impact behavior or software control than previous silicon version. Reset type: CM.SYSRESETn |
ETHERNETSS_CTRLSTS is shown in Figure 43-28 and described in Table 43-80.
Return to the Summary Table.
PHY Type, clock source type select
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| WRITE_KEY | |||||||
| R-0/W-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | FLOW_CTRL_EN | ||||||
| R-0-0h | R/W-0h | ||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CLK_SRC_SEL | RESERVED | CLK_LM | RESERVED | PHY_INTF_SEL | |||
| R/W-0h | R-0-0h | R-0-0h | R-0-0h | R/W-0h | |||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R-0 | 0h | Reserved |
| 23-16 | WRITE_KEY | R-0/W | 0h | The key value should be 0xa5 for the writes to this register to take effect. Writes to other controls in register with value in this field other than specified will be ignored. Reset type: XRSn |
| 15-10 | RESERVED | R-0 | 0h | Reserved |
| 9-8 | FLOW_CTRL_EN | R/W | 0h | Hardware flow control enable per Rx Queue 8 : HW flow control enable For Queue-0 9 : HW flow control enable For Queue-1 If 0: HW Flow control is not enabled. 1: HW Flow control is enabled with Pause Packet transmission in Full-duplex & back-pressure in half duplex mode. Reset type: XRSn |
| 7 | CLK_SRC_SEL | R/W | 0h | To select internal clock source in RMII mode and to enable clocking in REVMII mode. 0: External clock source drives clock through pin. 1: Internal source drives the clock Reset type: XRSn |
| 6-5 | RESERVED | R-0 | 0h | Reserved |
| 4 | CLK_LM | R-0 | 0h | Clock Select from internal source for internal loopback in MII/RMII mode without PHY 0: Normal Mode 1: Clocks enabled with internal source Reset type: XRSn |
| 3 | RESERVED | R-0 | 0h | Reserved |
| 2-0 | PHY_INTF_SEL | R/W | 0h | PHY Interface Selection control sampled by EQOS only out of reset. Controls the clocking, activated IO paths etc. Following are the options. 000-GMII/MII, 001-RGMII (Reserved), 010-SGMII (Reserved), 011-TBI (Reserved), 100-RMII, 101-RTBI(Reserved), 110-SMII(Reserevd). 111-RevMII Configuring any reserved configuration shall default to '000' MII selection. Reset type: XRSn |
ETHERNETSS_PTPTSTRIGSEL0 is shown in Figure 43-29 and described in Table 43-81.
Return to the Summary Table.
PTP Timestamp triggers, Trigger selects and PPS control
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| WRITE_KEY | |||||||
| R-0/W-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | PTP_AUX_TS_TRIG_SEL0 | ||||||
| R-0-0h | R/W-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R-0 | 0h | Reserved |
| 23-16 | WRITE_KEY | R-0/W | 0h | The key value should be 0xa5 for the writes to this register to take effect. Writes to other controls in register with value in this field other than specified will be ignored. Reset type: CM.SYSRESETn |
| 15-5 | RESERVED | R-0 | 0h | Reserved |
| 4-0 | PTP_AUX_TS_TRIG_SEL0 | R/W | 0h | Acts as mux select for the trigger sources of the timestamp capture-0. 32 Configurations are allowed. Refer device spec. for the mux select options. Reset type: CM.SYSRESETn |
ETHERNETSS_PTPTSTRIGSEL1 is shown in Figure 43-30 and described in Table 43-82.
Return to the Summary Table.
PTP Timestamp triggers, Trigger selects and PPS control
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| WRITE_KEY | |||||||
| R-0/W-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | PTP_AUX_TS_TRIG_SEL1 | ||||||
| R-0-0h | R/W-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R-0 | 0h | Reserved |
| 23-16 | WRITE_KEY | R-0/W | 0h | The key value should be 0xa5 for the writes to this register to take effect. Writes to other controls in register with value in this field other than specified will be ignored. Reset type: CM.SYSRESETn |
| 15-5 | RESERVED | R-0 | 0h | Reserved |
| 4-0 | PTP_AUX_TS_TRIG_SEL1 | R/W | 0h | Acts as mux select for the trigger sources of the timestamp capture-1. 32 Configurations are allowed. Refer device spec. for the mux select options. Reset type: CM.SYSRESETn |
ETHERNETSS_PTPTSSWTRIG0 is shown in Figure 43-31 and described in Table 43-83.
Return to the Summary Table.
PTP Timestamp triggers, Trigger selects and PPS control
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | PTP_AUX_TS_SW_TRIG0 | ||||||
| R-0-0h | R-0/W1S-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R-0 | 0h | Reserved |
| 0 | PTP_AUX_TS_SW_TRIG0 | R-0/W1S | 0h | Software controlled independent trigger-0 for capturing Auxillary timestamps in Timestamp FIFO. These signals are muxed with O/p Cross-bar output, Mux-Select is controlled through PTP_AUX_TS_TRIG_SEL0. When not programmed software trigger is default selection. Register always reads 0 and when written 1 creates a trigger pulse to the time-stamp capture logic. Writing 0 has no effect. Reset type: CM.SYSRESETn |
ETHERNETSS_PTPTSSWTRIG1 is shown in Figure 43-32 and described in Table 43-84.
Return to the Summary Table.
PTP Timestamp triggers, Trigger selects and PPS control
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | PTP_AUX_TS_SW_TRIG1 | ||||||
| R-0-0h | R-0/W1S-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R-0 | 0h | Reserved |
| 0 | PTP_AUX_TS_SW_TRIG1 | R-0/W1S | 0h | Software controlled independent trigger-1 for capturing Auxillary timestamps in Timestamp FIFO. These signals are muxed with O/p Cross-bar output, Mux-Select is controlled through PTP_AUX_TS_TRIG_SEL1. When not programmed software trigger is default selection. Register always reads 0 and when written 1 creates a trigger pulse to the time-stamp capture logic. Writing 0 has no effect. Reset type: CM.SYSRESETn |
ETHERNETSS_PTPPPSR0 is shown in Figure 43-33 and described in Table 43-85.
Return to the Summary Table.
PTP Timestamp triggers, Trigger selects and PPS control
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | PTP_PPS_R0 | ||||||
| R-0-0h | RC-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R-0 | 0h | Reserved |
| 0 | PTP_PPS_R0 | RC | 0h | Registered value of pulse per second-0, the register is cleared upon read and rearmed for next pulse. SW can track if the PPS is elapsed by reading this register. Setting of this register from internal has higher priority over the clear from read if the events were to happen together, so that next event is not lost. Reset type: CM.SYSRESETn |
ETHERNETSS_PTPPPSR1 is shown in Figure 43-34 and described in Table 43-86.
Return to the Summary Table.
PTP Timestamp triggers, Trigger selects and PPS control
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | PTP_PPS_R1 | ||||||
| R-0-0h | RC-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R-0 | 0h | Reserved |
| 0 | PTP_PPS_R1 | RC | 0h | Registered value of pulse per second-1, the register is cleared upon read and rearmed for next pulse. SW can track if the PPS is elapsed by reading this register. Setting of this register from internal has higher priority over the clear from read if the events were to happen together, so that next event is not lost. Reset type: CM.SYSRESETn |
ETHERNETSS_PTP_TSRL is shown in Figure 43-35 and described in Table 43-87.
Return to the Summary Table.
PTP timestamp read lower 32 bits
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TSR_L | |||||||||||||||||||||||||||||||
| R-0h | |||||||||||||||||||||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | TSR_L | R | 0h | Lower 32 bit time stamp value as captured from the ptp_timestamp_o[31:0] output of EQOS. The value synchronsed to hclk_i domain. The SW needs to ensure correctness between High & low value by reading high value first followed by low and high again to check for rollover. Reset type: CM.SYSRESETn |
ETHERNETSS_PTP_TSRH is shown in Figure 43-36 and described in Table 43-88.
Return to the Summary Table.
PTP timestamp read upper 32 bits
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TSR_H | |||||||||||||||||||||||||||||||
| R-0h | |||||||||||||||||||||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | TSR_H | R | 0h | Lower 32 bit time stamp value as captured from the ptp_timestamp_o[63:32] output of EQOS. The value synchronsed to hclk_i domain. The SW needs to ensure correctness between High & low value by reading high value first followed by low and high again to check for rollover. Reset type: CM.SYSRESETn |
ETHERNETSS_PTP_TSWL is shown in Figure 43-37 and described in Table 43-89.
Return to the Summary Table.
External PTP Timestamp write lower 32 bits
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TSW_L | |||||||||||||||||||||||||||||||
| R/W-0h | |||||||||||||||||||||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | TSW_L | R/W | 0h | Lower 32 bit time stamp value input to ptp_timestamp_i[31:0] to be embedded in next packet. This could be value read from external source or in systems with RTC could be connected to RTC counter directly. Reset type: CM.SYSRESETn |
ETHERNETSS_PTP_TSWH is shown in Figure 43-38 and described in Table 43-90.
Return to the Summary Table.
External PTP Timestamp write upper 32 bits
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TSW_H | |||||||||||||||||||||||||||||||
| R/W-0h | |||||||||||||||||||||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | TSW_H | R/W | 0h | Higher 32 bit time stamp value input to ptp_timestamp_i[63:32] to be embedded in next packet. This could be value read from external source or in systems with RTC could be connected to RTC counter directly. Reset type: CM.SYSRESETn |
ETHERNETSS_REVMII_CTRL is shown in Figure 43-39 and described in Table 43-91.
Return to the Summary Table.
REVMII PHY addresses input values.
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| WRITE_KEY | |||||||
| R-0/W-0h | |||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | REVMII_REMOTE_PHY_ADDR | ||||||
| R-0-0h | R/W-0h | ||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | REVMII_CORE_PHY_ADDR | ||||||
| R-0-0h | R/W-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-24 | RESERVED | R-0 | 0h | Reserved |
| 23-16 | WRITE_KEY | R-0/W | 0h | The key value should be 0xa5 for the writes to this register to take effect. Writes to other controls in register with value in this field other than specified will be ignored. Reset type: CM.SYSRESETn |
| 15-13 | RESERVED | R-0 | 0h | Reserved |
| 12-8 | REVMII_REMOTE_PHY_ADDR | R/W | 0h | Address offset to access the control-status related to PHY related status/controls for the Remote MAC side. (RevMII does not have PHY) Reset type: CM.SYSRESETn |
| 7-5 | RESERVED | R-0 | 0h | Reserved |
| 4-0 | REVMII_CORE_PHY_ADDR | R/W | 0h | Address offset to access the control-status related to PHY related status/controls for the core side. (RevMII does not have PHY) Reset type: CM.SYSRESETn |