Part Number: TMS320F2812
The TMS320F2812 we are using now, I use an external active crystal oscillator of 30M, PLL I set 2, frequency division 2, and the last system clock is 30M, but when the power is off and the chip is powered on, it runs normally, and after a period of time, I execute the action;
The function of the device itself will generate discharge pulse, so EMI interference will be generated. When the interference occurs, the operating clock of the chip seems to be changed. My timer setting is 10ms, and now it seems to be 20ms. I have a pin that periodically outputs a 1.5s cycle change signal. At this time, it also becomes a 3s cycle. At the same time, power off and reset can return to normal; The attachment is a schematic diagram. I want to know how to adjust the hardware so that it is not affected by EMI interference, or how to locate the point in the software that causes the timer interrupt error, so as to avoid it by software;
I am using XDS100V2, and the following error occurs