SPRUI33H November 2015 – June 2024 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1
A signal called ERRORSTS can be output to GPIO24, GPIO28, or GPIO29. This signal goes low when any bit is set in the NMI shadow flag register (NMISHDFLG). The signal can be used to alert an external system to a problem in the microcontroller. Since the state of ERRORSTS is based on the shadow flags, ERRORSTS remains low until the flags are cleared by the CPU or a power-on reset occurs.
All GPIO pins are inputs on power-up. If you want an error-state to be asserted during power-up or during a fault with the ERRORSTS signal, an external pull-down resistor can be used. A pull-up resistor can be used if you do not want an error-state asserted for the conditions mentioned.