nRF5 SDK v15.3.0
Wake on NFC Example

The Wake on NFC example shows how to use the NFCT peripheral to wake up the device from System OFF mode.

When the application starts, it initializes the necessary BSP and Timer modules. Pressing BSP_BUTTON_0 sets up the NFCT peripheral as a wakeup source and then the application enters System OFF mode. BSP_LED_0 indicates whether the device is in System ON mode (LED is lit) or in System OFF mode (LED is turned off).

The Wake on NFC example uses the BSP NFC Module module.

You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\nfc\wake_on_nfc

Testing

Test the Wake on NFC example with a smartphone or a tablet with NFC support by performing the following steps:

  1. Compile and program the application.
  2. Observe that BSP_LED_0 is lit and BSP_LED_1 is blinking.
  3. Press BSP_BUTTON_0 to enter System OFF mode. Observe that BSP_LED_0 is turned off and BSP_LED_1 has stopped blinking.
  4. Touch the NFC antenna with a smartphone or a tablet to wake up the application. Observe that LEDs behave as described in step 2.

Documentation feedback | Developer Zone | Subscribe | Updated