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

in nRF52840 DK freeRTOS example when advertising interval set to 10, application going in Hardfault handler.

in nRF52840 DK freeRTOS example when advertising interval set to 10, application going in Hardfault handler.

Parents Reply
  • Hello Susheel,

    I know what value we need to set in the advertisement interval. I set the value 16000(i.e. 10 second in 0.625ms format). But after this value I am getting hardfault. Did you guys try setting an advertisement interval as 16000 in the freeRTOS example?

    Do you know how we can set and maximum value we can set for advertisement interval in the freeRTOS example?

    Thanks

    Keyur

Children
  • sorry misunderstood your question.

    I change the advertising interval to 16000 and there was no hardfault. I was able to connect, discover and receive notifications tested on FreeRTOS HRS examples on PCA10056 on SDK16.

  • Hello Susheel,

    Thank you for your answer. Below are the logs which I got while running the example.

    <info> app: Flags error code 0
    <info> app: HRS FreeRTOS example started.
    <info> app: Fast advertising.
    <info> app: In notification send function came
    <info> app: In notification send function came
    <info> app: In notification send function came
    <info> app: In notification send function came
    <info> app: In notification send function came
    <info> app: In notification send function came
    <info> app: In notification send function came
    <info> app: In notification send function came
    <info> app: In notification send function came
    <info> app: In notification send function came
    <info> app: Connected
    <info> app: BLE connection handle assignment 0
    <error> app: Fatal error

Related