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.

F28M35 keep resetting,why?



Recently, I wrote my program based on Control card F28M35. The program function include:ADC INT(10μs),DMA INT(1ms),Timer0INT(40ms),the interrupt  service routine is mainly about flag setting and sample conputing. In the main cycle, CPU serve the corresponding function by checking the flags.

When the system run for a while, it run into repeating resetting. In the debug status bar,it shows the M3 in resetting instead of running,and if look the XRS and ARS pin with a scope, one can see pulses, period 10 ms roughly,and the low level is about 1.2ms.

Since all the operation is done in the C28x system, and M3 does nothing but send boot command to allow the C28 application to begin execution and configure GPIO for C28, when the M3 reset,there must exsist a NMI source relate to C28,so I guess there were Error Condition Generated on PIE NMI Vector Fetch in the Control Subsystem. But I’m not sure about this,and I don’t how how to prove this, how to find the reason that cause this err?

Please help…

  • Hi,

    We have RESC (Reset Cause) status register on both M3 and C28x subsystem (MRESC and CRESC). You can check this register to find what is causing the reset. If reset is caused by NMIWD then you can check NMIFLG register to check which error has triggered the NMI.

    Regards,

    Vivek Singh

  • hi!
    I had do some test,and I guess the reset season have some to do with the supply current, because the reset is always in the M3 system, and all the RAM was zero-Initialization, it's like a POR reset, but when i look the supply voltage,it's correct. so i guess the supply current may not enough for the system. so, what do you think? do the reson cause a reset?
  • hi ,
    one more question, when the reset happen, all the registers are cleared, how can I see the RESC (Reset Cause) status register?
  • Hi,

    Sorry for late reply. RESC register only gets reset by power on reset (not by XRSn). So if it's XRSn, value in RESC will be retain. If device is getting reset due to power on reset (due to power supply issue) then POR bit of this register will be set.

    Regards,

    Vivek Singh