SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
Table 26-18 lists the memory-mapped registers for the ESCSS_REGS registers. All register offset addresses not listed in Table 26-18 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Write Protection | Section |
---|---|---|---|---|
0h | ESCSS_IPREVNUM | IP Revision Number | Go | |
2h | ESCSS_INTR_RIS | EtherCATSS Interrupt Raw Status | Go | |
4h | ESCSS_INTR_MASK | EtherCATSS Interrupt Mask | Go | |
6h | ESCSS_INTR_MIS | EtherCATSS Masked Interrupt Status | Go | |
8h | ESCSS_INTR_CLR | EtherCATSS Interrupt Clear | Go | |
Ah | ESCSS_INTR_SET | EtherCATSS Interrupt Set to emulate | Go | |
Ch | ESCSS_LATCH_SEL | Select for Latch0/1 inputs and LATCHIN input | Go | |
Eh | ESCSS_ACCESS_CTRL | PDI interface access control config. | Go | |
10h | ESCSS_GPIN_DAT | GPIN data capture for debug & override | Go | |
12h | ESCSS_GPIN_PIPE | GPIN pipeline select | Go | |
14h | ESCSS_GPIN_GRP_CAP_SEL | GPIN pipe group capture trigger | Go | |
16h | ESCSS_GPOUT_DAT | GPOUT data capture for debug & override | Go | |
18h | ESCSS_GPOUT_PIPE | GPOUT pipeline select | Go | |
1Ah | ESCSS_GPOUT_GRP_CAP_SEL | GPOUT pipe group capture trigger | Go | |
1Ch | ESCSS_MEM_TEST | Memory Test Control | Go | |
1Eh | ESCSS_RESET_DEST_CONFIG | ResetOut impact or destination config | LOCK | Go |
20h | ESCSS_SYNC0_CONFIG | SYNC0 Configuration for various triggers | LOCK | Go |
22h | ESCSS_SYNC1_CONFIG | SYNC1 Configuration for various triggers | LOCK | Go |
Complex bit access types are encoded to fit into small table cells. Table 26-19 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 |
Write Type | ||
W | W | Write |
W1C | W 1C | Write 1 to clear |
W1S | W 1S | Write 1 to set |
Reset or Default Value | ||
-n | Value after reset or the default value |
ESCSS_IPREVNUM is shown in Figure 26-21 and described in Table 26-20.
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: ECAT.IPRSn |
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: ECAT.IPRSn |
ESCSS_INTR_RIS is shown in Figure 26-22 and described in Table 26-21.
Return to the Summary Table.
Registers the Raw Interrupt status of different interrupt triggers regardless of mask.
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 | MDEVICE_RESET_RIS | TIMEOUT_ERR_RIS | DMA_DONE_RIS | IRQ_RIS | SYNC1_RIS | SYNC0_RIS | |
R-0-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R-0 | 0h | Reserved |
5 | MDEVICE_RESET_RIS | R | 0h | Indicates Raw Status of the EtherCAT MainDevice Reset event , until cleared by ESCSS_INTR_CLR 0: EtherCAT MaiDevice Reset Event did not happen since last IP reset or last clear of this bit and ECAT MainDevice reset programmed to be Interrupt to local host. 1: EtherCAT MainDevice Reset Event has occured. This status gets updated regardless of interrupt mask, it is registered on the EtherCATSS clock domain, sticky and remains active till cleared using ESCSS_INTR_CLR. If simultaneous clear & incoming event on same clock edge the incoming event registering has priority and clear does not have effect. Information of this event is lost if ECAT Master event is programmed to be reset IP. Reset type: ECAT.IPRSn |
4 | TIMEOUT_ERR_RIS | R | 0h | Indicates Raw Status of the past event on PDI access timeout Error, until cleared by ESCSS_INTR_CLR 0: PDI Access Timeout Error Event did not happen since reset or last clear of this bit. 1: PDI Access Timeout Error Event has triggered the interrupt/DMA trigger. This status gets updated regardless of interrupt mask as long as Timeout is enabled, it is registered on the EtherCATSS clock domain, sticky and remains active till cleared using ESCSS_INTR_CLR. If simultaneous clear & incoming event on same clock edge the incoming event registering has priority and clear does not have effect. Reset type: ECAT.IPRSn |
3 | DMA_DONE_RIS | R | 0h | Indicates Raw Status of the past event on DMA Done, until cleared by ESCSS_INTR_CLR 0: DMA Done Event did not happen since reset or last clear of this bit. 1: DMA Done Event has triggered the interrupt/DMA trigger. This status gets updated regardless of interrupt mask, it is registered on the EtherCATSS clock domain, sticky and remains active till cleared using ESCSS_INTR_CLR. If simultaneous clear & incoming event on same clock edge the incoming event registering has priority and clear does not have effect. Reset type: ECAT.IPRSn |
2 | IRQ_RIS | R | 0h | Indicates Raw Status of the past event on EtherCATSS IRQ, until cleared by ESCSS_INTR_CLR 0: EtherCATSS IRQ Event did not happen since reset or last clear of this bit. 1: EtherCATSS IRQ Event has triggered the interrupt/DMA trigger. This status gets updated regardless of interrupt mask, it is registered on the EtherCATSS clock domain, sticky and remains active till cleared using ESCSS_INTR_CLR. If simultaneous clear & incoming event on same clock edge the incoming event registering has priority and clear does not have effect. Reset type: ECAT.IPRSn |
1 | SYNC1_RIS | R | 0h | Indicates Raw Status of the past event on SYNC1, until cleared by ESCSS_INTR_CLR 0: SYNC1 Event did not happen since reset or last clear of this bit. 1: SYNC1 Event has triggered the interrupt/DMA trigger. This status gets updated regardless of interrupt mask, it is registered on the EtherCATSS clock domain, sticky and remains active till cleared using ESCSS_INTR_CLR. If simultaneous clear & incoming event on same clock edge the incoming event registering has priority and clear does not have effect. Reset type: ECAT.IPRSn |
0 | SYNC0_RIS | R | 0h | Indicates Raw Status of the past event on SYNC0, until cleared by ESCSS_INTR_CLR 0: SYNC0 Event did not happen since reset or last clear of this bit. 1: SYNC0 Event has triggered the interrupt/DMA trigger. This status gets updated regardless of interrupt mask, it is registered on the EtherCATSS clock domain, sticky and remains active till cleared using ESCSS_INTR_CLR. If simultaneous clear & incoming event on same clock edge the incoming event registering has priority and clear does not have effect. Reset type: ECAT.IPRSn |
ESCSS_INTR_MASK is shown in Figure 26-23 and described in Table 26-22.
Return to the Summary Table.
Allows to mask individual interrupt cause impacting the interrupt
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 | MDEVICE_RESET_MASK | TIMEOUT_ERR_MASK | DMA_DONE_MASK | IRQ_MASK | SYNC1_MASK | SYNC0_MASK | |
R-0-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R-0 | 0h | Reserved |
5 | MDEVICE_RESET_MASK | R/W | 0h | Masks EtherCAT MainDevice reset event against any effect on interrupts or other CPU Interrupts. 1: EtherCAT MainDevice Reset affects the interrupt/DMA trigger. 0: EtherCAT MainDevice Reset masked and does not affect Interrupt. Reset type: ECAT.IPRSn |
4 | TIMEOUT_ERR_MASK | R/W | 0h | Masks PDI access timeout Error to have effect on interrupts or other CPU Interrupts. 1: PDI Access Timeout Errors affects the interrupt/DMA trigger. 0: PDI Access Timeout Errors masked and does not affect Interrupt. Reset type: ECAT.IPRSn |
3 | DMA_DONE_MASK | R/W | 0h | Masks DMA Done status update to have effect on interrupts or other CPU Interrupts. 1: DMA Done affects the interrupt/DMA trigger. 0: DMA Done masked and does not affect Interrupt. Raw DMA Done status is updated regardless of this setting. Reset type: ECAT.IPRSn |
2 | IRQ_MASK | R/W | 0h | Masks EtherCATSS IRQ to have effect on interrupts or other CPU/DMA triggers. 1: EtherCATSS IRQ affects the interrupt/DMA trigger. 0: EtherCATSS IRQ masked and does not affect Interrupt/DMA trigger. Raw EtherCATSS IRQ status is updated regardless of this setting. Reset type: ECAT.IPRSn |
1 | SYNC1_MASK | R/W | 0h | Masks SYNC1 to have effect on interrupts or other CPU/DMA triggers as programmed in HOST_TRIG_MAP registers. 1: SYNC1 affects the interrupt/DMA trigger. 0: SYNC1 masked and does not affect Interrupt/DMA trigger. Raw SYNC1 status is updated regardless of this setting. Reset type: ECAT.IPRSn |
0 | SYNC0_MASK | R/W | 0h | Masks SYNC0 to have effect on interrupts or other CPU/DMA triggers as programmed in HOST_TRIG_MAP registers. 1: SYNC0 affects the interrupt/DMA trigger. 0: SYNC0 masked and does not affect Interrupt/DMA trigger. Raw SYNC0 status is updated regardless of this setting. Reset type: ECAT.IPRSn |
ESCSS_INTR_MIS is shown in Figure 26-24 and described in Table 26-23.
Return to the Summary Table.
Registers the Msked Interrupt status of different interrupt triggers. This is AND of RIS & MASK of respective fields
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 | MDEVICE_RESET_MIS | TIMEOUT_ERR_MIS | DMA_DONE_MIS | IRQ_MIS | SYNC1_MIS | SYNC0_MIS | |
R-0-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R-0 | 0h | Reserved |
5 | MDEVICE_RESET_MIS | R | 0h | Indicates Masked Interrupt status of the past event on EtherCAT MainDevice Reset, until RIS cleared by ESCSS_INTR_CLR or by Reset. 0: No pending EtherCAT MainDevice Reset interrupt, if configured and unmasked. 1: EtherCAT MainDevice Reset Event has triggered the interrupt/DMA trigger and it's pending. This is MASK qualified RIS such that application can select to service or suppress the interrupt cause behind this. Upon reset or upon RIS clear through ESCSS_INTR_CLR this field is cleared. Reset type: ECAT.IPRSn |
4 | TIMEOUT_ERR_MIS | R | 0h | Indicates Masked Interrupt status of the past event on PDI Access Timeout Error, until RIS cleared by ESCSS_INTR_CLR 0: No pending PDI Access Timeout Error interrupt. 1: PDI Access Timeout Error Event has triggered the interrupt/DMA trigger and it's pending. This is MASK qualified RIS such that application can select to service or suppress the interrupt cause behind this. Upon reset or upon RIS clear through ESCSS_INTR_CLR this field is cleared. Reset type: ECAT.IPRSn |
3 | DMA_DONE_MIS | R | 0h | Indicates Masked Interrupt status of the past event on DMA Done, until RIS is cleared by ESCSS_INTR_CLR 0: No pending DMA Done interrupt. 1: DMA Done Event has triggered the interrupt/DMA trigger and it's pending. This is MASK qualified RIS such that application can select to service or suppress the interrupt cause behind this. Upon reset or upon RIS clear through ESCSS_INTR_CLR this field is cleared. Reset type: ECAT.IPRSn |
2 | IRQ_MIS | R | 0h | Indicates Masked Interrupt status of the past event on EtherCATSS IRQ, until RIS is cleared by ESCSS_INTR_CLR 0: No pending EtherCATSS IRQ interrupt. 1: EtherCATSS IRQ Event has triggered the interrupt and it's pending. This is MASK qualified RIS such that application can select to service or suppress the interrupt cause behind this. Upon reset or upon RIS clear through ESCSS_INTR_CLR this field is cleared. Reset type: ECAT.IPRSn |
1 | SYNC1_MIS | R | 0h | Indicates Masked Interrupt status of the past event on SYNC0, until RIS is cleared by ESCSS_INTR_CLR 0: No pending SYNC1 interrupt. 1: SYNC1 Event has triggered the interrupt/DMA trigger and it's pending. This is MASK qualified RIS such that application can select to service or suppress the interrupt cause behind this. Upon reset or upon RIS clear through ESCSS_INTR_CLR this field is cleared. Reset type: ECAT.IPRSn |
0 | SYNC0_MIS | R | 0h | Indicates Masked Interrupt status of the past event on SYNC0, until RIS is cleared by ESCSS_INTR_CLR 0: No pending SYNC0 interrupt. 1: SYNC0 Event has triggered the interrupt/DMA trigger and it's pending. This is MASK qualified RIS such that application can select to service or suppress the interrupt cause behind this. Upon reset or upon RIS clear through ESCSS_INTR_CLR this field is cleared. Reset type: ECAT.IPRSn |
ESCSS_INTR_CLR is shown in Figure 26-25 and described in Table 26-24.
Return to the Summary Table.
Individual Interrupt cause clear register
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 | MDEVICE_RESET_CLR | TIMEOUT_ERR_CLR | DMA_DONE_CLR | IRQ_CLR | SYNC1_CLR | SYNC0_CLR | |
R-0-0h | R-0/W1C-0h | R-0/W1C-0h | R-0/W1C-0h | R-0/W1C-0h | R-0/W1C-0h | R-0/W1C-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-6 | RESERVED | R-0 | 0h | Reserved |
5 | MDEVICE_RESET_CLR | R-0/W1C | 0h | Clears EtherCAT MainDevice Reset raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 clears the Raw status of the EtherCAT MainDevice reset, read always returns 0. Reset type: ECAT.IPRSn |
4 | TIMEOUT_ERR_CLR | R-0/W1C | 0h | Clears PDI access timeout Error raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 clears the Raw status of the PDI Access Timeout Error, read always returns 0. Reset type: ECAT.IPRSn |
3 | DMA_DONE_CLR | R-0/W1C | 0h | Clears DMA Done raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 clears the Raw status of the DMA Done, read always returns 0. Reset type: ECAT.IPRSn |
2 | IRQ_CLR | R-0/W1C | 0h | Clears EtherCATSS IRQ raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 clears the Raw status of the EtherCATSS IRQ, read always returns 0. Reset type: ECAT.IPRSn |
1 | SYNC1_CLR | R-0/W1C | 0h | Clears SYNC1 raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 clears the Raw status of the SYNC1, read always returns 0. Reset type: ECAT.IPRSn |
0 | SYNC0_CLR | R-0/W1C | 0h | Clears SYNC0 raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 clears the Raw status of the SYNC0, read always returns 0. Reset type: ECAT.IPRSn |
ESCSS_INTR_SET is shown in Figure 26-26 and described in Table 26-25.
Return to the Summary Table.
Individual Interrupt cause set register to emulate the interrupt cause
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 |
WRITE_KEY | |||||||
R-0/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | MDEVICE_RESET_SET | TIMEOUT_ERR_SET | DMA_DONE_SET | IRQ_SET | SYNC1_SET | SYNC0_SET | |
R-0-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R-0 | 0h | Reserved |
15-8 | WRITE_KEY | R-0/W | 0h | The key value should be 0xa5 for the writes to Set bits to take effect. Writes of other values will be ignored. Reset type: ECAT.IPRSn |
7-6 | RESERVED | R-0 | 0h | Reserved |
5 | MDEVICE_RESET_SET | R-0/W1S | 0h | Sets EtherCAT MainDevice Reset raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 Sets the Raw status of the PDI Access Timeout Error, read always returns 0. Note this emulation can only assert interrupt to CPU but it can not reset the EtherCAT IP. Reset type: ECAT.IPRSn |
4 | TIMEOUT_ERR_SET | R-0/W1S | 0h | Sets PDI access timeout Error raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 Sets the Raw status of the PDI Access Timeout Error, read always returns 0. Reset type: ECAT.IPRSn |
3 | DMA_DONE_SET | R-0/W1S | 0h | Sets DMA Done raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 Sets the Raw status of the DMA Done, read always returns 0. Reset type: ECAT.IPRSn |
2 | IRQ_SET | R-0/W1S | 0h | Sets EtherCATSS IRQ raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 sets the Raw status of the EtherCATSS IRQ, read always returns 0. Reset type: ECAT.IPRSn |
1 | SYNC1_SET | R-0/W1S | 0h | Sets SYNC1 raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 Sets the Raw status of the SYNC1, read always returns 0. Reset type: ECAT.IPRSn |
0 | SYNC0_SET | R-0/W1S | 0h | Sets SYNC0 raw Status (Common Mask & Clear among all hosts, only one host expected accessing). Write 1 sets the Raw status of the SYNC0, read always returns 0. Reset type: ECAT.IPRSn |
ESCSS_LATCH_SEL is shown in Figure 26-27 and described in Table 26-26.
Return to the Summary Table.
Select for LATCH0/1 input Triggers as well as LATCHIN used for registering the GPIs.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | RESERVED | ||||||
R-0-0h | R/W-0h | ||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | LATCH1_SELECT | ||||||
R-0-0h | R/W-0h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | LATCH0_SELECT | ||||||
R-0-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-17 | RESERVED | R-0 | 0h | Reserved |
16 | RESERVED | R/W | 0h | Reserved |
15-13 | RESERVED | R-0 | 0h | Reserved |
12-8 | LATCH1_SELECT | R/W | 0h | Mux Select for LATCH1 input to ECATSS. Refer device specification for details of mux select options. Reset type: ECAT.IPRSn |
7-5 | RESERVED | R-0 | 0h | Reserved |
4-0 | LATCH0_SELECT | R/W | 0h | Mux Select for LATCH0 input to ECATSS. Refer device specification for details of mux select options. Reset type: ECAT.IPRSn |
ESCSS_ACCESS_CTRL is shown in Figure 26-28 and described in Table 26-27.
Return to the Summary Table.
Wait state control for EtherCAT access
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | TIMEOUT_COUNT | ||||||
R-0-0h | R/W-0h | ||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
TIMEOUT_COUNT | |||||||
R/W-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RESERVED | ENABLE_PARALLEL_PORT_ACCESS | ENABLE_DEBUG_ACCESS | RESERVED | ||||
R-0-0h | R/W-1h | R/W-0h | R/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EN_TIMEOUT | WAIT_STATES | ||||||
R/W-0h | R/W-0h | ||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-28 | RESERVED | R-0 | 0h | Reserved |
27-16 | TIMEOUT_COUNT | R/W | 0h | This is the cycle count in SYSCLK cycles after which an access on the EtherCAT Async interface will be aborted and CPU will be given back a READY. Reset type: ECAT.IPRSn |
15-11 | RESERVED | R-0 | 0h | Reserved |
10 | ENABLE_PARALLEL_PORT_ACCESS | R/W | 1h | Enabled memory accesses through the parallel port interface. 0: Memory accesses using parallel port are not allowed to go through. 1: Memory accesses using parallel port are allowed through the Bridge. Reset type: ECAT.IPRSn |
9 | ENABLE_DEBUG_ACCESS | R/W | 0h | Enabled debug accesses through the PDI interface. 0: Debug accesses are not allowed to go through. 1: Debug accesses are allowed through the Bridge. Bridge logic will ensure that access will not hang. Reset type: ECAT.IPRSn |
8 | RESERVED | R/W | 0h | Reserved |
7 | EN_TIMEOUT | R/W | 0h | Enables the Timeout features which counts programmed number of Sys clocks before the Local host aborts the transaction. 0: Timeout feature is not enabled on PDI interface. 1: The timeout counter starts counting upon BUSY is asserted by EtherCAT IP. Reset type: ECAT.IPRSn |
6-0 | WAIT_STATES | R/W | 0h | This is the predefined minimum number of wait-states which the VBUS bridge will put out accesses on the 16-bit Async interface. Reset type: ECAT.IPRSn |
ESCSS_GPIN_DAT is shown in Figure 26-29 and described in Table 26-28.
Return to the Summary Table.
GPI data status for debug & overridwe
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 |
GPIN_DAT | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | GPIN_DAT | R/W | 0h | Local GPIN data register connects to GPIN pipelined register for debug & override purposes. Note: The copy of this register readable by the CPU is provided without synchronization, therefore multiple reads should be performed to confirm a stable value before using it. Reset type: ECAT.IPRSn |
ESCSS_GPIN_PIPE is shown in Figure 26-30 and described in Table 26-29.
Return to the Summary Table.
Register to select raw PAD input or pipelined input be presented to ESC.
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 |
GPI_PIPE | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | GPI_PIPE | R/W | 0h | Enables the connection of GPIN to EtherCATSS through pipelined register as against the direct from IO. 0: The connection is directly from the IO pad 1: Connection is through the pipelined register which is captured on programmed event. Reset type: ECAT.IPRSn |
ESCSS_GPIN_GRP_CAP_SEL is shown in Figure 26-31 and described in Table 26-30.
Return to the Summary Table.
Register to configure trigger select for the group of 8 IOs together.
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 | GPI_GRP_CAP_SEL3 | RESERVED | GPI_GRP_CAP_SEL2 | ||||
R-0-0h | R/W-0h | R-0-0h | R/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | GPI_GRP_CAP_SEL1 | RESERVED | GPI_GRP_CAP_SEL0 | ||||
R-0-0h | R/W-0h | R-0-0h | R/W-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-15 | RESERVED | R-0 | 0h | Reserved |
14-12 | GPI_GRP_CAP_SEL3 | R/W | 0h | Selects the trigger to capture the IO input in pipeline register for GPI31-24 0: Start Of Frame as capture trigger 1-3: Reserved, selects default value of 0. 4: SYNC0 as capture trigger 5: SYNC1 as capture trigger 6: LATCH0 as capture trigger 7: LATCH1 as capture trigger Reset type: ECAT.IPRSn |
11 | RESERVED | R-0 | 0h | Reserved |
10-8 | GPI_GRP_CAP_SEL2 | R/W | 0h | Selects the trigger to capture the IO input in pipeline register for GPI23-16 0: Start Of Frame as capture trigger 1-3: Reserved, selects default value of 0. 4: SYNC0 as capture trigger 5: SYNC1 as capture trigger 6: LATCH0 as capture trigger 7: LATCH1 as capture trigger Reset type: ECAT.IPRSn |
7 | RESERVED | R-0 | 0h | Reserved |
6-4 | GPI_GRP_CAP_SEL1 | R/W | 0h | Selects the trigger to capture the IO input in pipeline register for GPI15-8 0: Start Of Frame as capture trigger 1-3: Reserved, selects default value of 0. 4: SYNC0 as capture trigger 5: SYNC1 as capture trigger 6: LATCH0 as capture trigger 7: LATCH1 as capture trigger Reset type: ECAT.IPRSn |
3 | RESERVED | R-0 | 0h | Reserved |
2-0 | GPI_GRP_CAP_SEL0 | R/W | 0h | Selects the trigger to capture the IO input in pipeline register for GPI7-0 0: Start Of Frame as capture trigger 1-3: Reserved, selects default value of 0. 4: SYNC0 as capture trigger 5: SYNC1 as capture trigger 6: LATCH0 as capture trigger 7: LATCH1 as capture trigger Reset type: ECAT.IPRSn |
ESCSS_GPOUT_DAT is shown in Figure 26-32 and described in Table 26-31.
Return to the Summary Table.
GPO data capture for debug & overridwe
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 |
GPOUT_DAT | |||||||||||||||||||||||||||||||
R-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | GPOUT_DAT | R | 0h | Local GPOUT data register which is synchronised version on SysClk, each bit is represents GPO IO Read is allowed for CPU to process (IO extender or so if required). Reset type: ECAT.IPRSn |
ESCSS_GPOUT_PIPE is shown in Figure 26-33 and described in Table 26-32.
Return to the Summary Table.
Register to select pipeline of ESC output against direct route to IO pad on per IO based.
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 |
GPO_PIPE | |||||||||||||||||||||||||||||||
R/W-0h | |||||||||||||||||||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-0 | GPO_PIPE | R/W | 0h | Enables the connection of EtherCATSS GPO output to the IO pad through pipelined register as against the direct connection. 0: The connection is directly to the IO pad 1: Connection is through the pipelined register which captures EtherCATSS o/p on programmed event. Reset type: ECAT.IPRSn |
ESCSS_GPOUT_GRP_CAP_SEL is shown in Figure 26-34 and described in Table 26-33.
Return to the Summary Table.
Register to configure trigger select for pipelined register in group of 8 IOs together.
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 | GPO_GRP_CAP_SEL3 | RESERVED | GPO_GRP_CAP_SEL2 | ||||
R-0-0h | R/W-0h | R-0-0h | R/W-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | GPO_GRP_CAP_SEL1 | RESERVED | GPO_GRP_CAP_SEL0 | ||||
R-0-0h | R/W-0h | R-0-0h | R/W-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-14 | RESERVED | R-0 | 0h | Reserved |
13-12 | GPO_GRP_CAP_SEL3 | R/W | 0h | Selects the trigger to capture the EtherCATSS output in pipeline register for GPO31-24 0: End Of Frame as capture trigger 1: SYNC0 as capture trigger 2: SYNC1 as capture trigger 3: WDTrig as capture trigger Reset type: ECAT.IPRSn |
11-10 | RESERVED | R-0 | 0h | Reserved |
9-8 | GPO_GRP_CAP_SEL2 | R/W | 0h | Selects the trigger to capture the EtherCATSS output in pipeline register for GPO23-16 0: End Of Frame as capture trigger 1: SYNC0 as capture trigger 2: SYNC1 as capture trigger 3: WDTrig as capture trigger Reset type: ECAT.IPRSn |
7-6 | RESERVED | R-0 | 0h | Reserved |
5-4 | GPO_GRP_CAP_SEL1 | R/W | 0h | Selects the trigger to capture the EtherCATSS output in pipeline register for GPO15-8 0: End Of Frame as capture trigger 1: SYNC0 as capture trigger 2: SYNC1 as capture trigger 3: WDTrig as capture trigger Reset type: ECAT.IPRSn |
3-2 | RESERVED | R-0 | 0h | Reserved |
1-0 | GPO_GRP_CAP_SEL0 | R/W | 0h | Selects the trigger to capture the EtherCATSS output in pipeline register for GPO7-0 0: End Of Frame as capture trigger 1: SYNC0 as capture trigger 2: SYNC1 as capture trigger 3: WDTrig as capture trigger Reset type: ECAT.IPRSn |
ESCSS_MEM_TEST is shown in Figure 26-35 and described in Table 26-34.
Return to the Summary Table.
This register controls access to memory test mode
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 | MEM_INIT_DONE | INITIATE_MEM_INIT | |||||
R-0-0h | R-0h | R-0/W1S-0h | |||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-2 | RESERVED | R-0 | 0h | Reserved |
1 | MEM_INIT_DONE | R | 0h | Read-only status bit indicating memory initialisation completion. Gets self cleared with INITIATE_MEM_INIT is written '1'. Reset type: ECAT.IPRSn |
0 | INITIATE_MEM_INIT | R-0/W1S | 0h | Memory Initialisation Trigger When set 1 the memory wrapper starts initialisation of DPRAM including parity programming. The bit gets Autocleared after memory initialisation starts. Write of 0 has no effect. Reset type: ECAT.IPRSn |
ESCSS_RESET_DEST_CONFIG is shown in Figure 26-36 and described in Table 26-35.
Return to the Summary Table.
EtherCAT RESET_OUT configuration
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 |
WRITE_KEY | |||||||
R-0/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DEVICE_RESET_EN | RESERVED | CPU_INT_EN | CPU_NMI_EN | CPU_RESET_EN | |||
R/W-0h | R-0-0h | R/W-0h | R/W-0h | R/W-0h | |||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R-0 | 0h | Reserved |
15-8 | WRITE_KEY | R-0/W | 0h | The key value should be 0xa5 for the writes to this register to take effect. Writes of other values will be ignored. Reset type: ECAT.IPRSn |
7 | DEVICE_RESET_EN | R/W | 0h | Enable the EtherCAT RESET_OUT which is combination of IP Reset out and Pin reset to drive the Device Reset (XRSn) 0: EtherCAT RESET_OUT only drives the EtherCATSS & companion component reset to PHY 1: EtherCAT RESET_OUT drives EtherCATSS, external PHY reset and device by connecting this net on to device XRSn User's note: The connection from IP Resetout to EtherCAT RESET_OUT has no relation with this selection. Reset type: ECAT.XRSn |
6-3 | RESERVED | R-0 | 0h | Reserved |
2 | CPU_INT_EN | R/W | 0h | Enable for resetout to drive the interrupt to CPU which it belongs to. 0: IP Resetout does not drive the CPU interrupt. 1: IP Resetout drives interrupt to the CPU MainDevice to which EtherCATSS belongs. The Host completes the reset through System control Soft reset after completing required context save or tasks if any. Reset type: ECAT.IPRSn |
1 | CPU_NMI_EN | R/W | 0h | Enable for resetout to drive the CPU NMI 0: IP Resetout does not drive the CPU NMI. 1: IP Resetout drives CPU NMI to which it belongs. NMI handler is expected to complete the required taks or context save if any and then reset the EtherCAT through the system control soft reset. Reset type: ECAT.IPRSn |
0 | CPU_RESET_EN | R/W | 0h | Enables EtherCAT Reset to drive the IP & PHY reset 0: EtherCAT Reset does not drive reset connection. 1: EtherCAT Reset drives EtherCAT IP and PHY Reset EtherCAT Reset Combines MainDevice Reset, PDI sequence Reset, RESET_IN, System control soft Reset This selection is to drive the MainDevice & PDI Reset to this combination. When this bit is set 0, application shall configure NMI/Interrupt to eventually complete the reset through system control soft reset. Reset type: ECAT.XRSn |
ESCSS_SYNC0_CONFIG is shown in Figure 26-37 and described in Table 26-36.
Return to the Summary Table.
SYNC0 Triggers enable for Host events like Interrupts, DMA triggers across all MainDevices & GPIO
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 |
WRITE_KEY | |||||||
R-0/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | RESERVED | C28x_DMA_EN | CLA_INT_EN | C28x_PIE_EN | ||
R-0-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R-0 | 0h | Reserved |
15-8 | WRITE_KEY | R-0/W | 0h | The key value should be 0xa5 for the writes to this register to take effect. Writes of other values will be ignored. Reset type: ECAT.IPRSn |
7-5 | RESERVED | R-0 | 0h | Reserved |
4 | RESERVED | R/W | 0h | Reserved |
3 | RESERVED | R/W | 0h | Reserved |
2 | C28x_DMA_EN | R/W | 0h | Makes the connection from SYNC0 output to C28x DMA Trigger. 0: SYNC0 does not contribute to C28x DMA trigger. 1: SYNC0 toggle Triggers the C28x DMA Transfer. Reset type: ECAT.IPRSn |
1 | CLA_INT_EN | R/W | 0h | Makes the connection from SYNC0 output to CLA Interrupt. 0: SYNC0 does not contribute to CLA Interrupt regardless of mask. 1: SYNC0 follows the CLA interrupt behavior as controlled by RIS,MASK,CLR register pairs. Reset type: ECAT.IPRSn |
0 | C28x_PIE_EN | R/W | 0h | Makes the connection from SYNC0 output to C28x PIE Interrupt. 0: SYNC0 does not contribute to C28x PIE regardless of mask. 1: SYNC0 follows the PIE interrupt behavior as controlled by RIS,MASK,CLR register pairs. Reset type: ECAT.IPRSn |
ESCSS_SYNC1_CONFIG is shown in Figure 26-38 and described in Table 26-37.
Return to the Summary Table.
SYNC1 Triggers enable for Host events like Interrupts, DMA triggers across all MainDevices & GPIO
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 |
WRITE_KEY | |||||||
R-0/W-0h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | RESERVED | RESERVED | C28x_DMA_EN | CLA_INT_EN | C28x_PIE_EN | ||
R-0-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R-0 | 0h | Reserved |
15-8 | WRITE_KEY | R-0/W | 0h | The key value should be 0xa5 for the writes to this register to take effect. Writes of other values will be ignored. Reset type: ECAT.IPRSn |
7-5 | RESERVED | R-0 | 0h | Reserved |
4 | RESERVED | R/W | 0h | Reserved |
3 | RESERVED | R/W | 0h | Reserved |
2 | C28x_DMA_EN | R/W | 0h | Makes the connection from SYNC1 output to C28x DMA Trigger. 0: SYNC1 does not contribute to C28x DMA trigger. 1: SYNC1 toggle Triggers the C28x DMA Transfer. Reset type: ECAT.IPRSn |
1 | CLA_INT_EN | R/W | 0h | Makes the connection from SYNC1 output to CLA Interrupt. 0: SYNC1 does not contribute to CLA Interrupt regardless of mask. 1: SYNC1 follows the CLA interrupt behavior as controlled by RIS,MASK,CLR register pairs. Reset type: ECAT.IPRSn |
0 | C28x_PIE_EN | R/W | 0h | Makes the connection from SYNC1 output to C28x PIE Interrupt. 0: SYNC1 does not contribute to C28x PIE regardless of mask. 1: SYNC1 follows the PIE interrupt behavior as controlled by RIS,MASK,CLR register pairs. Reset type: ECAT.IPRSn |