Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can the software be used to minimise the problem of noise generating a reset?

0
Posted

How can the software be used to minimise the problem of noise generating a reset?

0

Answer The most effective method of eliminating the adverse effects of noise is to eliminate the noise sources and isolate the noisy lines, however this can often be difficult to achieve. In hostile environments, the MCU may be subject to excessive amounts of noise interference, and in such cases one of the most often experienced phenomenon is that of spurious resets. To prevent the program from erroneous jumps software traps can be set or the watchdog timer used to reset the device. Holtek MCUs have a TO (temporary stop flag) and a PDF flag (watchdog timer overflow flag), which can be examined to determine the source of the reset. Additionally flags can be buried in the RAM. Each time the program resets, these flags can be examined and the source of the reset determined. According to the result of these flag examinations, the program can then jump to different program sections. In this way the program can continue running, and the user will not be aware of any spurious reset occurrenc

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123