This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

disable SD

Hello, I use nrf51422 for my project. I have to collect data via BLE nus from phone, but after that i don't need SD anymore. Can i use blocked hardware, like RTC0, after disable sd? I try to do that, but i get Hard Fault.

Regards Michał,

Parents
  • Yes, you can use blocked hardware after disabling the SoftDevice. Using blocked hardware while SoftDevice is enabled will lead to hardfault.

    You are sure you are not calling any SoftDevice functions? A common mistake is to call power_manage(), which will call sd_app_evt_wait(). This have to be changed to this if the SoftDevice is disabled:

    __SEV();
    __WFE();
    __WFE();
    
Reply
  • Yes, you can use blocked hardware after disabling the SoftDevice. Using blocked hardware while SoftDevice is enabled will lead to hardfault.

    You are sure you are not calling any SoftDevice functions? A common mistake is to call power_manage(), which will call sd_app_evt_wait(). This have to be changed to this if the SoftDevice is disabled:

    __SEV();
    __WFE();
    __WFE();
    
Children
No Data
Related