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

apply timeslot ,Causes the timer to fail to start (nRF52832 SDK15.3 s132 ESB+timeslot)

Hi All:

       Applyed the under timeslot : 

       

       causes some peripherals(eg:static const nrf_drv_timer_t m_timer = NRF_DRV_TIMER_INSTANCE(2)) no access interrupt,

       what 's the matter? 

Parents Reply Children
  • I took at quick look at the code. TIMER2 is used for ESB(NRF_ESB_SYS_TIMER), and it seems to have priority 6.

    When you get the NRF_RADIO_CALLBACK_SIGNAL_TYPE_START, you trigger TIMESLOT_BEGIN_IRQn/TIMESLOT_BEGIN_IRQHandler. This is running at priority 1. This means that you will not get any interrupt from TIMER2 while you are inside TIMESLOT_BEGIN_IRQHandler.

Related