hardfault connection parameter update


My NRF52832 runs into the hardfault handler when the sd_ble_gap_conn_param_update() function is called.

I copied the BLE code from the ble_app_template_pca10 project. When I run the code in that project there is no problem, but now the code is copied to my own project the device runs into the hardfault handler.

What are possible reasons for the hardfault to occur in that function?

Thanks, JR