This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Use of SV Call & NMI Exceptions in ARM

What is the use or application of SV Call and NMI Exception in ARM Cortex M0 .

Is it someway related to RTOS?, if so , how?

Parents
  • An example of a use for NMI is for a watchdog timer to make sure he system is handling interrupts in a timely manner. The timer sets NMI which sets a flag and a pending interrupt to be taken when there's no interrupts being handled and it is going back to application level.. The pending interrupt then unsets the flag. If the  NMI watchdog interrupt finds the flag still set it knows interrupts aren't being completed in a timely manner and no application level work is being done. Life being what it is that becomes a bit more complicated if the processor goes to sleep when there's nothing to do but you get the idea.

Reply
  • An example of a use for NMI is for a watchdog timer to make sure he system is handling interrupts in a timely manner. The timer sets NMI which sets a flag and a pending interrupt to be taken when there's no interrupts being handled and it is going back to application level.. The pending interrupt then unsets the flag. If the  NMI watchdog interrupt finds the flag still set it knows interrupts aren't being completed in a timely manner and no application level work is being done. Life being what it is that becomes a bit more complicated if the processor goes to sleep when there's nothing to do but you get the idea.

Children