This blog post focuses on explaining the privileged and unprivileged access levels available in ARM Cortex-M core. With an assembly code, it demonstrates the use of these access levels and explains how to switch between them.
Let’s explore a simple use of the SysTick timer provided in ARM Cortex-M devices. Though the primary intention of the SysTick timer is to be used as a periodic interrupt to invoke kernel in an operating system, it can also be used as a simple peripheral timer. This post also introduces you to exception handling mechanism of ARM Cortex-M core.