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.

TMS320F28P559SJ-Q1: MCU reset due to NMIWDRs

Part Number: TMS320F28P559SJ-Q1

Tool/software:

Hi experts,

I ask this for my customer.

They are using their own board and own application.

And they find after running a period of time, the PWM pulse will be pull down.

Then they measure the XRSn pin and 3.3V, and find it exists some noise in the 3.3V(Channle 1 is PWM, Channel 2 is XRSn, channel 3 is 3.3V)

It seems 3.3v have a higher voltage than recommend range, but this time is too small.

Then we connect the debugger, and find NMIWDRs and UNCERR is set.

1. From the register, it seems may be ECC error in FLASH/RAM/ROM happens and let MCU reset, is it right?

2. The NMIFLG is not set, is it because the register will clear after SYSRST? The NMISHDFLG is set, is it because the register only be clear after PORRST?

3. What's the possible reason for this ECC error? Is it may be caused by 3.3v noise?

4. How to handle this situation after the MCU reset caused by NMIWDRs? Because 3.3v noise will happened sometimes due to the interference from system power and this interference is momentary and won't last long. This noise is hard to avoid and customer's hardware is fixed now.

BRs

Shuqing

  • Hi Shuqing.

    I will be able to review this by Wednesday.

    Regards,

    Rajeshwary

  • Hi Shuqing,

    1. From the register, it seems may be ECC error in FLASH/RAM/ROM happens and let MCU reset, is it right?

    Yes, an Ecc error happened and may have triggered the NMI interrupt.

    2. The NMIFLG is not set, is it because the register will clear after SYSRST? The NMISHDFLG is set, is it because the register only be clear after PORRST?

    Yes, that's correct.

    3. What's the possible reason for this ECC error? Is it may be caused by 3.3v noise?

    It could be noise, resulting in corruption of the FLASH/ROM/RAM region.

    4. How to handle this situation after the MCU reset caused by NMIWDRs? Because 3.3v noise will happened sometimes due to the interference from system power and this interference is momentary and won't last long. This noise is hard to avoid and customer's hardware is fixed now

    First narrow down where corruption is happening. If it is happening at random location then user might have to implement some checksum logic to verify if application is corrupted then reload the code.

    Regards,

    Rajeshwary