SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Table 3-312 lists the memory-mapped registers for the NMI_INTRUPT_REGS registers. All register offset addresses not listed in Table 3-312 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Write Protection | Section |
|---|---|---|---|---|
| 0h | NMICFG | NMI Configuration Register | EALLOW | Go |
| 1h | NMIFLG | NMI Flag Register (SYSRsn Clear) | Go | |
| 2h | NMIFLGCLR | NMI Flag Clear Register | EALLOW | Go |
| 3h | NMIFLGFRC | NMI Flag Force Register | EALLOW | Go |
| 4h | NMIWDCNT | NMI Watchdog Counter Register | Go | |
| 5h | NMIWDPRD | NMI Watchdog Period Register | EALLOW | Go |
| 6h | NMISHDFLG | NMI Shadow Flag Register | Go | |
| 7h | ERRORSTS | Error pin status | Go | |
| 8h | ERRORSTSCLR | ERRORSTS clear register | EALLOW | Go |
| 9h | ERRORSTSFRC | ERRORSTS force register | EALLOW | Go |
| Ah | ERRORCTL | Error pin control register | EALLOW | Go |
| Bh | ERRORLOCK | Lock register to Error pin registers. | EALLOW | Go |
Complex bit access types are encoded to fit into small table cells. Table 3-313 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 |
| W1S | W 1S | Write 1 to set |
| WSonce | W Sonce | Write Set once |
| 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. | |
NMICFG is shown in Figure 3-294 and described in Table 3-314.
Return to the Summary Table.
NMI Configuration Register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | NMIE | ||||||
| R-0-0h | R/W1S-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-1 | RESERVED | R-0 | 0h | Reserved |
| 0 | NMIE | R/W1S | 0h | When set to 1 any condition will generate an NMI interrupt to the C28 CPU and kick off the NMI watchdog counter. As part of boot sequence this bit should be set after the device security related initialization is complete. 0 NMI disabled 1 NMI enabled Reset type: SYSRSn |
NMIFLG is shown in Figure 3-295 and described in Table 3-315.
Return to the Summary Table.
NMI Flag Register (SYSRsn Clear)
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| MCAN_ERR | CRC_FAIL | ECATNMIn | CMNMIWDRSn | RESERVED | CPU2NMIWDRSn | CPU2WDRSn | CLBNMI |
| R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h |
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ERADNMI | PIEVECTERR | CPU2HWBISTERR | CPU1HWBISTERR | FLUNCERR | RAMUNCERR | CLOCKFAIL | NMIINT |
| R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | MCAN_ERR | R | 0h | 0 MCAN module has not generated an ECC error. 1 MCAN module has generated an ECC error. [1] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 14 | CRC_FAIL | R | 0h | 0 CPUCRC and CLACRC check has not failed. 1 CPUCRC or CLACRC check has failed. Reset type: SYSRSn |
| 13 | ECATNMIn | R | 0h | 0 No reset request from EtherCAT IP. 1 NMI generated from EtherCAT IP. No further NMI pulses are generated until this flag is cleared by the user. [1] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 12 | CMNMIWDRSn | R | 0h | CM NMIWDRSn Reset Indication Flag: This bit indicates if CM's NMIWDRSn was fired or not. 0 No CM.NMIWDRsn was fired 1 CM.NMIWDRSn was fired to CM [1] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 11 | RESERVED | R | 0h | Reserved |
| 10 | CPU2NMIWDRSn | R | 0h | CPU2 NMIWDRSn Reset Indication Flag: This bit indicates if CPU2's NMIWDRSn was fired or not. 0 No CPU2.NMIWDRsn was fired 1 CPU2.NMIWDRSn was fired to CPU2 Note: [1] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 9 | CPU2WDRSn | R | 0h | CPU2 WDRSn Reset Indication Flag: This bit indicates if CPU2's WDRSn was fired or not. 0 No CPU2.WDRsn was fired 1 CPU2.WDRSn was fired to CPU2 Note: [1] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 8 | CLBNMI | R | 0h | Configurable Logic Block NMI Flag: This bit indicates if an NMI was generated by the Configurable Logic Block. This bit can only be cleared by the user writing to the corresponding clear bit in the NMIFLGCLR register or by an SYSRSn reset: 0,No Configurable Logic Block NMI pending 1,Configurable Logic Block NMI generated Reset type: SYSRSn |
| 7 | ERADNMI | R | 0h | ERAD Module NMI Flag: This bit indicates if an NMI was generated by the ERAD Module. This bit can only be cleared by the user writing to the corresponding clear bit in the NMIFLGCLR register or by an SYSRSn reset: 0,No ERAD NMI pending 1,ERAD NMI generated Reset type: SYSRSn |
| 6 | PIEVECTERR | R | 0h | PIE Vector Fetch Error Flag: This bit indicates if an error occurred on an Vector Fecth by the CPU in the device. In Dual core system CPU1.NMIWD gets an NMI on an Vector fetch Error on CPU2. This bit can only be cleared by the user writing to the corresponding clear bit in the NMIFLGCLR register or by an SYSRSn reset: 0,No Vector Fetch Error condition (on the other CPU) pending 1,Vector Fetch error condition (on the other CPU) generated Reset type: SYSRSn |
| 5 | CPU2HWBISTERR | R | 0h | HW BIST Error NMI Flag: This bit indicates if the time out error or a signature mismatch error condition during hardware BIST of C28 CPU2 occurred. This bit can only be cleared by the user writing to the corresponding clear bit in the NMIFLGCLR register or by an SYSRSn reset: 0,No C28 HWBIST error condition pending 1,C28 BIST error condition generated Reset type: SYSRSn |
| 4 | CPU1HWBISTERR | R | 0h | HW BIST Error NMI Flag: This bit indicates if the time out error or a signature mismatch error condition during hardware BIST of C28 CPU1 occurred. This bit can only be cleared by the user writing to the corresponding clear bit in the NMIFLGCLR register or by an SYSRSn reset: 0,No C28 HWBIST error condition pending 1,C28 BIST error condition generated Reset type: SYSRSn |
| 3 | FLUNCERR | R | 0h | Flash Uncorrectable Error NMI Flag: This bit indicates if an uncorrectable error occurred on a C28 Flash access and that condition is latched. This bit can only be cleared by the user writing to the corresponding clear bit in the NMIFLGCLR register or by an SYSRSn reset: 0,No C28 Flash uncorrectable error condition pending 1,C28 Flash uncorrectable error condition generated Reset type: SYSRSn |
| 2 | RAMUNCERR | R | 0h | RAM Uncorrectable Error NMI Flag: This bit indicates if an uncorrectable error occurred on a RAM access (by any master) and that condition is latched. This bit can only be cleared by the user writing to the corresponding clear bit in the NMIFLGCLR register or by an SYSRSn reset: 0,No RAM uncorrectable error condition pending 1,RAM uncorrectable error condition generated Note: This nmi is a combination of uncorrectable error in RAMs and ROMs. ROM parity error would also set this flag. Reset type: SYSRSn |
| 1 | CLOCKFAIL | R | 0h | Clock Fail Interrupt Flag: These bits indicates if the CLOCKFAIL condition is latched. These bits can only be cleared by the user writing to the respective bit in the NMIFLGCLR register or by an SYSRSn reset: 0,No CLOCKFAIL Condition Pending 1,CLOCKFAIL Condition Generated Reset type: SYSRSn |
| 0 | NMIINT | R | 0h | NMI Interrupt Flag: This bit indicates if an NMI interrupt was generated. This bit can only be cleared by the user writing to the respective bit in the NMIFLGCLR register or by an SYSRSn reset: 0 No NMI Interrupt Generated 1 NMI Interrupt Generated No further NMI interrupts pulses are generated until this flag is cleared by the user. Reset type: SYSRSn |
NMIFLGCLR is shown in Figure 3-296 and described in Table 3-316.
Return to the Summary Table.
NMI Flag Clear Register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| MCAN_ERR | CRC_FAIL | ECATNMIn | CMNMIWDRSn | RESERVED | CPU2NMIWDRSn | CPU2WDRSn | CLBNMI |
| R-0/W1S-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 | R-0/W1S-0h |
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ERADNMI | PIEVECTERR | CPU2HWBISTERR | CPU1HWBISTERR | FLUNCERR | RAMUNCERR | CLOCKFAIL | NMIINT |
| R-0/W1S-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 | R-0/W1S-0h |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | MCAN_ERR | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 14 | CRC_FAIL | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 13 | ECATNMIn | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. [3] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 12 | CMNMIWDRSn | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. [3] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 11 | RESERVED | R-0/W1S | 0h | Reserved |
| 10 | CPU2NMIWDRSn | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 9 | CPU2WDRSn | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. [3] CPU2WDRSn and CPU2NMIWDRSn bits are reserved for CPU2.NMIFLGCLR registers Reset type: SYSRSn |
| 8 | CLBNMI | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 7 | ERADNMI | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 6 | PIEVECTERR | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 5 | CPU2HWBISTERR | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 4 | CPU1HWBISTERR | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 3 | FLUNCERR | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 2 | RAMUNCERR | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 1 | CLOCKFAIL | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
| 0 | NMIINT | R-0/W1S | 0h | Writing a 1 to the respective bit clears the corresponding flag bit in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. Notes: [1] If hardware is trying to set a bit to 1 while software is trying to clear a bit to 0 on the same cycle, hardware has priority. [2] Users should clear the pending FAIL flag first and then clear the NMIINT flag. Reset type: SYSRSn |
NMIFLGFRC is shown in Figure 3-297 and described in Table 3-317.
Return to the Summary Table.
NMI Flag Force Register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| MCAN_ERR | CRC_FAIL | ECATNMIn | CMNMIWDRSn | RESERVED | CPU2NMIWDRSn | CPU2WDRSn | CLBNMI |
| R-0/W1S-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 | R-0/W1S-0h |
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ERADNMI | PIEVECTERR | CPU2HWBISTERR | CPU1HWBISTERR | FLUNCERR | RAMUNCERR | CLOCKFAIL | RESERVED |
| R-0/W1S-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 | R-0-0h |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | MCAN_ERR | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. [1] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 14 | CRC_FAIL | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Reset type: SYSRSn |
| 13 | ECATNMIn | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. [1] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 12 | CMNMIWDRSn | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. [1] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 11 | RESERVED | R-0/W1S | 0h | Reserved |
| 10 | CPU2NMIWDRSn | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Note: [1] CPU2WDRSn and CPU2NMIWDRSn bits are reserved for CPU2.NMIFLGCLR registers Reset type: SYSRSn |
| 9 | CPU2WDRSn | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Note: [1] CPU2WDRSn and CPU2NMIWDRSn bits are reserved for CPU2.NMIFLGCLR registers Reset type: SYSRSn |
| 8 | CLBNMI | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Reset type: SYSRSn |
| 7 | ERADNMI | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Reset type: SYSRSn |
| 6 | PIEVECTERR | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Reset type: SYSRSn |
| 5 | CPU2HWBISTERR | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Reset type: SYSRSn |
| 4 | CPU1HWBISTERR | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Reset type: SYSRSn |
| 3 | FLUNCERR | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Reset type: SYSRSn |
| 2 | RAMUNCERR | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Reset type: SYSRSn |
| 1 | CLOCKFAIL | R-0/W1S | 0h | Writing a 1 to these bits will set the respective FAIL flag in the NMIFLG and NMISHDFLG registers. Writes of 0 are ignored. Always reads back 0. This can be used as a means to test the NMI mechanisms. Reset type: SYSRSn |
| 0 | RESERVED | R-0 | 0h | Reserved |
NMIWDCNT is shown in Figure 3-298 and described in Table 3-318.
Return to the Summary Table.
NMI Watchdog Counter Register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| NMIWDCNT | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| NMIWDCNT | |||||||
| R-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | NMIWDCNT | R | 0h | NMI Watchdog Counter: This 16-bit incremental counter will start incrementing whenever any one of the enabled FAIL flags are set. If the counter reaches the period value, an NMIRSn signal is fired which will then resets the system. The counter will reset to zero when it reaches the period value and will then restart counting if any of the enabled FAIL flags are set. If no enabled FAIL flag is set, then the counter will reset to zero and remain at zero until an enabled FAIL flag is set. Normally, the software would respond to the NMI interrupt generated and clear the offending FLAG(s) before the NMI watchdog triggers a reset. In some situations, the software may decide to allow the watchdog to reset the device anyway. The counter is clocked at the SYSCLKOUT rate. Reset type: SYSRSn |
NMIWDPRD is shown in Figure 3-299 and described in Table 3-319.
Return to the Summary Table.
NMI Watchdog Period Register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| NMIWDPRD | |||||||
| R/W-FFFFh | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| NMIWDPRD | |||||||
| R/W-FFFFh | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | NMIWDPRD | R/W | FFFFh | NMI Watchdog Period: This 16-bit value contains the period value at which a reset is generated when the watchdog counter matches. At reset this value is set at the maximum. The software can decrease the period value at initialization time. Reset type: SYSRSn |
NMISHDFLG is shown in Figure 3-300 and described in Table 3-320.
Return to the Summary Table.
NMI Shadow Flag Register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| MCAN_ERR | CRC_FAIL | ECATNMIn | CMNMIWDRSn | RESERVED | CPU2NMIWDRSn | CPU2WDRSn | CLBNMI |
| R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h |
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ERADNMI | PIEVECTERR | CPU2HWBISTERR | CPU1HWBISTERR | FLUNCERR | RAMUNCERR | CLOCKFAIL | RESERVED |
| R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0h | R-0-0h |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | MCAN_ERR | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. [2] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 14 | CRC_FAIL | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: SYSRSn |
| 13 | ECATNMIn | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. [2] This bit is reserved for CPU2.NMIFLG register Reset type: SYSRSn |
| 12 | CMNMIWDRSn | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. [2] This bit is reserved for CPU2.NMIFLG register Reset type: PORESETn |
| 11 | RESERVED | R | 0h | Reserved |
| 10 | CPU2NMIWDRSn | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: PORESETn |
| 9 | CPU2WDRSn | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. [2] CPU2WDRSn and CPU2NMIWDRSn bits are reserved for CPU2.NMIFLGCLR registers Reset type: PORESETn |
| 8 | CLBNMI | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: PORESETn |
| 7 | ERADNMI | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: PORESETn |
| 6 | PIEVECTERR | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: PORESETn |
| 5 | CPU2HWBISTERR | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: PORESETn |
| 4 | CPU1HWBISTERR | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: PORESETn |
| 3 | FLUNCERR | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: PORESETn |
| 2 | RAMUNCERR | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: PORESETn |
| 1 | CLOCKFAIL | R | 0h | Shadow NMI Flags: When an NMIFLG bit is set due to any of the possible NMI source in the device, the corresponding bit in this register is also set. Note that NMIFLGFRC and NMIFLGCLR register also affects the bits of this register in the same way as they do for the NMIFLG register. This register is reset only by PORESETn. Notes: [1] This register is added to keep the definition of System Control Reset Cause Register Clean. Reset type: PORESETn |
| 0 | RESERVED | R-0 | 0h | Reserved |
ERRORSTS is shown in Figure 3-301 and described in Table 3-321.
Return to the Summary Table.
Error pin status
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | PINSTS | ERROR | |||||
| R-0-0h | R-1h | R-0h | |||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-2 | RESERVED | R-0 | 0h | Reserved |
| 1 | PINSTS | R | 1h | 0, Error Pin is 0 1, Error Pin is 1 Note: ERRORSTS register can be read by CPU2 but cannot be cleared by CPU2. Reset type: PORESETn |
| 0 | ERROR | R | 0h | 0,None of the error sources were triggered. 1, One or more of the error sources triggered, or ERRORSTS.ERROR was set by a write of 1 to ERRORSTSFRC.ERROR bit. Once set, the ERROR flag can be cleared by writing 1 to ERRORSTSCLR.ERROR bit. Following are the events/triggers which can set this bit: 1. If any of flags in NMISHDFLG register is set on CPU1/CPU2 2. Watchdog reset 3. Error on a Pie vector fetch 4. Efuse error 5. If any of flags in NMISHDFLG register is set on CM On a read of this bit, the pin Error pin state will be returned. Note: ERRORSTS register can be read by CPU2 but cannot be cleared by CPU2. Reset type: PORESETn |
ERRORSTSCLR is shown in Figure 3-302 and described in Table 3-322.
Return to the Summary Table.
ERRORSTS clear register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | ERROR | ||||||
| R-0-0h | R-0/W1S-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-1 | RESERVED | R-0 | 0h | Reserved |
| 0 | ERROR | R-0/W1S | 0h | 0,No effect 1, ERRORSTS.ERROR is cleared to 0 Note:This register is available only on CPU1 Reset type: PORESETn |
ERRORSTSFRC is shown in Figure 3-303 and described in Table 3-323.
Return to the Summary Table.
ERRORSTS force register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | ERROR | ||||||
| R-0-0h | R-0/W1S-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-1 | RESERVED | R-0 | 0h | Reserved |
| 0 | ERROR | R-0/W1S | 0h | 0,No effect 1, ERRORSTS.ERROR is set to 1 Note:This register is available only on CPU1 Reset type: PORESETn |
ERRORCTL is shown in Figure 3-304 and described in Table 3-324.
Return to the Summary Table.
Error pin control register
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | ERRORPOLSEL | ||||||
| R-0-0h | R/W-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-1 | RESERVED | R-0 | 0h | Reserved |
| 0 | ERRORPOLSEL | R/W | 0h | 0, If ERRORSTS.ERROR is 1, Error pin will be driven with a value of 0, else 1. 1, If ERRORSTS.ERROR is 1, Error pin will be driven with a value of 1, else 0. Note:This register is available only on CPU1 Reset type: PORESETn |
ERRORLOCK is shown in Figure 3-305 and described in Table 3-325.
Return to the Summary Table.
Lock register to Error pin registers.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | ERRORCTL | ||||||
| R-0-0h | R/WSonce-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-1 | RESERVED | R-0 | 0h | Reserved |
| 0 | ERRORCTL | R/WSonce | 0h | 0, Writes to ERRORCTL register allowed. 1, Writes to ERRORCTL register is blocked. Writes of 0 to this bit has no effect. Write of 1 will set this bit, cleared only on a SYSRSn. Note:This register is available only on CPU1 Reset type: SYSRSn |