This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM57L843: The differens of internal diagnostic and external diagnostic of nmpu

Part Number: RM57L843

What is the difference between internal diagnostic and external diagnostic of nmpu. Why there are the two different ways of diagnosis. When to use internal diagnostic and when to use external diagnostic? 

  • Hello,

    The diagnostic mode is used to verify the MPU address and access permission comparator logic working properly at either start up time or during application run time. In internal mode, the diagnostic logic drives the input of the comparator logic. In the external mode, the actual bus master initiates the access to the NMPU, but the Address of the access from the bus master is replaced by the address in MPUDIAGADDR register before the address reaches the address comparator logic.

    The external diagnostic mode can test the full signal chain from bus master access generation logic to NMPU comparator logic.

  • Does it mean, when in internal diagnostic mode, the address signals and the control signals are all from diagnostic logic inside the nmpu. When in external diagnostic mode, the address signals are from MPUDIAGADDR register which is part of diagnostic logic, while the control signals are from bus master interface. When both internal and external diagnostics are enabled, when the resualt of internal diagnostic is right and the result of the external diagnostic is wrong, does it mean the problem occurs at the the bus master interface?