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

Adevertisement stop when twi_master_init(void) called

Hi we are using NRF51822 board.

i flash ble_app_hrs application. then it is giving advertisement.

but when i call twi_master_init() function from main. advertisement stop.

i used sd api in place ppi also.

Can anybody tell me what will be issue.

Regards Balaji

Parents
  • From where exactly do you call this? If you call a softdevice API function from a high-level interrupt (i.e. priority higher than 2), that will cause a HardFault, as described in the Appendix of the Reference Manual.. Could that be the issue here?

Reply
  • From where exactly do you call this? If you call a softdevice API function from a high-level interrupt (i.e. priority higher than 2), that will cause a HardFault, as described in the Appendix of the Reference Manual.. Could that be the issue here?

Children
No Data