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

Unexpected warning

I am receiving an unexpected warning from nrf_atfifo_item_get that reports "Get failed - no item in the FIFO." This occurs when I start advertising using

void advertising_start(bool erase_bonds)

This calls bsp_led_indication which calls app_timer_start which triggers drv_rtc_irq_trigger

I am assuming this is to catch short timer periods, but can this warning be avoided so that there is no call to the rtc trigger?

Parents
  • I have started from an example but the code is substantially modified. Here is the call stack


    nrf_atfifo_item_get
    timer_req_process
    rtc_irq
    RTC1_IRQHandler
    <Exception frame>
    drv_rtc_irq_trigger
    timer_request_proc_trigger
    timer_req_schedule
    app_timer_start
    application_timers_start
    ble_device_init
    main
    [_call_main + 0xd]

    I have a similar issue in bsp_button. When a button is pressed it calls a timer, which never calls the timeout routine. It appears nothing is put in the timer queue.

  • Ok, I'm convinced Slight smile 

    What time period are you using? Could you share your code? You could of course modify the code any way you would like, but it's not recommended, as a consequence can make errors not handled properly. 

    regards

    Jared 

Reply Children
No Data
Related