Security has become an important issue for many microprocessor systems especially those IoT platforms connected to the Internet. Sensors need to be connected to a microprocessor and there must be security schemes present to prevent hacking and ultimate loss of system control. ARM Cortex-M processors are widely used in such systems. With ARMv8-M architecture, TrustZone hardware is added to provide a trusted system to be implemented. This includes hardware security such as sensors, GPIO and wireless.