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

Wake up on NFC on custom pcb based on ble_app_uart example s132

Hi,

Our program is now based on ble_app_uart example, and we want to add the 'wake up on NFC' feature. I checked the 'wake up on NFC' example and related posts sending via NFC after wake up on NFC and NFC wake up with BLE but didn't find a solution.

Our product will set the nrf to sleep mode after receiving a command through BLE, using sd_power_system_off(). As we don't use LEDs and buttons like those on the development kit,  I skipped the bsp_init() or buttons_leds_init() or similar things in those examples and post, (tried with and without that part, didn't work either)

The questions are :

1.Does the wake-on-NFC feature only work when the system goes to OFF mode by button?

2.It seems that "bsp_nfc_sleep_mode_prepare();" is the essential part of this feature, what init() is needed to make it work? I tried those in the example and posts with/without the led and button part but failed.

Thanks in advance

Parents
  • Another question, is bsp_event_handler(BSP_EVENT_SLEEP case) involved if the system goes to OFF mode by BLE commands?

  • Hi,

    1.Does the wake-on-NFC feature only work when the system goes to OFF mode by button?

    No, it's not dependent on the system off trigger. The essential part is that you use the NFCT in your project and that write 1 to the NRF_NFCT->TASKS_SENSE register. Which is what bsp_nfc_sleep_mode_prepare() do.

    2.It seems that "bsp_nfc_sleep_mode_prepare();" is the essential part of this feature, what init() is needed to make it work? I tried those in the example and posts with/without the led and button part but failed.

    The API call is part of the BSP module, you therefore have to initialize the BSP module before you can use the API call.

    Yuank said:
    Another question, is bsp_event_handler(BSP_EVENT_SLEEP case) involved if the system goes to OFF mode by BLE commands?

    Depends on the application. Per documentation for the BSP module: 

    regards

    Jared 

Reply
  • Hi,

    1.Does the wake-on-NFC feature only work when the system goes to OFF mode by button?

    No, it's not dependent on the system off trigger. The essential part is that you use the NFCT in your project and that write 1 to the NRF_NFCT->TASKS_SENSE register. Which is what bsp_nfc_sleep_mode_prepare() do.

    2.It seems that "bsp_nfc_sleep_mode_prepare();" is the essential part of this feature, what init() is needed to make it work? I tried those in the example and posts with/without the led and button part but failed.

    The API call is part of the BSP module, you therefore have to initialize the BSP module before you can use the API call.

    Yuank said:
    Another question, is bsp_event_handler(BSP_EVENT_SLEEP case) involved if the system goes to OFF mode by BLE commands?

    Depends on the application. Per documentation for the BSP module: 

    regards

    Jared 

Children
No Data
Related