1. Introduction

1.1. Before You Start

Before you start you need to:

  • Install the latest SmartSnippets Studio
  • Download the latest SDK (currently version 1.0.12.1075)

These can be downloaded from the Dialog Semiconductor support portal.

Additionally, for this tutorial either a Pro or Basic Development kit is required.

The key goals of this tutorial are to:

  • Provide a basic understanding of the external interruption mechanism
  • Set up a working demonstration handling an external interruption and taking action
  • Trigger an OS task execution based on the collected external interruption

1.2. External Interruption

An external interruption is where the processor activity is interrupted and the Cortex M0 handler mode is entered (see ARM® v6-M Architecture Reference Manual, Section B1.3.1) based on the rising and/or falling edge of a DA1468x pin. Any GPIO in the DA1468x can be used to generate an interrupt which will trigger the Cortex M0. The process is handled by the block called Wake-Up Timer (see DA1468x Datasheet, Section 19). On top of getting the processor to enter handler mode, the Wake-Up Timer will wake-up the DA1468x if it is currently in Sleep mode.

1.3. Working Demonstration

As the Bluetooth low energy framework runs under the supervision of a Real Time Operating System (RTOS), the example in this tutorial demonstrates how to trigger a task execution based on the collected event.