This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using sd_ble_gatts_hvx() in timer1 interrupt service cause the hardfault

Condition: nRF52, SDK11,s132, SDS v2.0. Using the sd_ble_gatts_hvx() in timer1 interrupt service(timer1 interrupt priority is set to level 3) will result in hardfault. While, using the sd_ble_gatts_hvx() in main loop will not cause any error. Why? How can I to use sd_ble_gatts_hvx() in timer1?

Related