I'm writing a program sending die temperature data through BLE. I'm trying to combine the nrf51822 Heart Rate Monitor example and the nrf6310 Temperature example. Both examples work fine.
However, if I tried to launch the temperature sensor after the initialization of BLE stack, the program will run into hard fault immediately. Debug terminates at
HardFault_Handler\
PROC
EXPORT HardFault_Handler [WEAK]
B .
ENDP
Is it a hardware bug of nrf51822? Any solution?