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

APP_TIMER integrated with softdevice s132 gets error in init

hi 

i have added a timer to a working code with softdevice, ble, uart and pwm for now.

when program starts it gets an error in the app_timer_init funcion  ' NRF_LOG_INFO("RTC: initialized."); '  throughs it

i m not sure why .. maybe related to some wrong definitios in the sdk_config but i am not sure which one

also, i have tried to add systick for a different porpose and it says " undefigned referance to nrfx_systich_init(), though i added the lib to the nrf drivers dir.. what am i missing ?

best regards

Ziv

Parents Reply
  • very well 

    the function i am using is -> ' nrf_drv_systick_init(); '

    it goes to -> ' #define nrf_drv_systick_init        nrfx_systick_init ' 

    and i can't serch farther so i guess some files are missing but i am not sure which 

    any way i found the issue with the systick i hade to add some configurations system still somewhere in app_timer_init(); 

    saying unknowen function at some address

Children
  • You migh want to look up what the "grep" command line tool can do. Many IDE have a similar function integrated.

    The nrfx_systick_init() function is implemented in "nrf_systick.c" and depends on NRFX_SYSTICK_ENABLED macro in sdk_config.h file.

    Note that systick on NRF5x will not run in WFI/WFE condition (i.e. when the core sleeps) because the HF is clock not running.

Related