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

Error while adding ADC to the BLE_UART example.

Hi, I have added the SAADC example into my BLE_UART example and SDK 15.03. i need to use ADC for sampling some adc data.

I added SAADC example code to my application and it compiles successfully.

But when I run it I get the following error:

<error> app: ERROR 3735928559 [Unknown error code] at D:nRF5_SDK\modules\nrfx\drivers\src\nrfx_timer.c:72

PC at: 0x0002F9EB

<error> app: End of error report

And the line at 72 is

#ifdef SOFTDEVICE_PRESENT
    NRFX_ASSERT(p_instance->p_reg != NRF_TIMER0);
#endif

When I put break point and see, the values of both variables is same. but I still get the hardfault error.

Can you please guide me on how to solve this.

Also, am I using the correct example of ADC? Do I need to use different example for ADC with BLE?

Thank you,

Bharath

Parents Reply Children
No Data
Related