Interrupt Priority
Low-Priority
Interrupt Handling
High-Priority
Interrupt Handling
Error Signal
Handling
error_group1
error_group2
error_group3
ERROR
Device
Low-Priority
Interrupt
High-Priority
Interrupt
fr
o
m
H
a
rd
w
a
re
D
ia
g
n
o
s
tic
s
to
V
IM
In
te
rr
u
p
t
C
o
n
tr
o
lle
r
Interrupt Enable
ERROR Pin Enable
Output
PIN
Overview
559
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Error Signaling Module (ESM)
16.1 Overview
The Error Signaling Module (ESM) collects and reports the various error conditions on the microcontroller.
The error condition is categorized based on a severity level. Error response is then generated based on
the category of the error. Possible error responses include a low priority interrupt, high priority interrupt,
and an external pin action.
16.1.1 Feature List
•
Up to 160 error channels are supported, divided into 3 different groups:
–
96 Group1 (low severity) channels with configurable interrupt generation and configurable ERROR
pin behavior
–
32 Group2 (high severity) channels with predefined interrupt generation and predefined ERROR pin
behavior
–
32 Group3 (high severity) channels with no interrupt generation and predefined ERROR pin
behavior. These channels have no interrupt response as they are reserved for CPU based
diagnostics that generate aborts directly to the CPU.
•
Dedicated device ERROR pin to signal an external observer
•
Configurable timebase for ERROR pin output
•
Error forcing capability for latent fault testing
16.1.2 Block Diagram
As shown in
, the ESM channels are divided into three groups. Group1 channels are
considered to be low severity. Group1 errors have a configurable interrupt response and configurable
ERROR pin behavior. Note that the ESM Status Register 1 (ESMSR1) for error group 1 gets updated,
regardless if the interrupt enable is active or not. Group2 channels are ERROR high severity. Group2
errors always generate a high priority interrupt and an output on the ERROR pin. Group3 channels
indicate errors of the highest severity. Check the specific part's datasheet for identifying group3 errors and
their expected responses. Group3 errors always generate an ERROR pin output.
The ESM interrupt and ERROR pin behavior are also summarized in
Figure 16-1. Block Diagram
Note that the ESM Status Register 1 (ESMSR1) for error_group1 gets updated, regardless if the interrupt enable is
active or not.