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.

TMS320F28377D: Interrupt stop issue during March test in diagnostic lib

Part Number: TMS320F28377D

Hi Champs,

I'd like to know if the March test in Diag_Lib stops interrupts. In case where ADC interrupt is running at about 30KHz, the interrupt was prevented from the March test. For my customer case, the interrupt should not be impacted from the diagnostic tests. Is there any solution for this case?

Thanks,
Steve 

  • Yes, if you take a look at the implementation in stl_march_s.asm, one of the first things the test functions do is execute the DINT instruction to globally disable interrupts. The chance that an interrupt may try to use memory that has been overwritten and not yet restored by the March test is why we disable all interrupts by default.

    The customer can remove this DINT and replace it with an IER mask instead to leave some high priority interrupts enabled, but they will need to take steps to make sure that the memory under test is not in use by the ISR.

    Whitney