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
  • Hi:

    •     Not  called the above timeslot, peripheral timer(nrf_drv_timer_t m_timer = NRF_DRV_TIMER_INSTANCE(2)) Can enter callback normally. code snippet: 
    • void timer_handler(nrf_timer_event_t event_type, void * p_context)
      {

      switch (event_type)
      {
      case NRF_TIMER_EVENT_COMPARE0:
      NRF_LOG_INFO("AD time....\r\n");
      break;
      default:
      //Do nothing.
      break;
      }

      }
    • The following print:

        

        But called the above timeslot ,timer  cannot enter callback properly.There's no print on it.

Children
Related