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

I want touse TIMER3 and TIMER4 in nRF52832

I am using a development board PCA10040 with an nRF52832

I am running one of the examples: gpiote_pca10040

Everything is working fine with this line in the original example:

static nrf_drv_timer_t timer = NRF_DRV_TIMER_INSTANCE(0);

However, I want to use TIMER3 and TIMER4, so when I type: static nrf_drv_timer_t timer = NRF_DRV_TIMER_INSTANCE(3);

I get this error (Using IAR for ARM):

Error[Pe020]: identifier "TIMER3_INSTANCE_INDEX" is undefined C:\nRF5_SDK_v11.0.0-2.alpha\examples\peripheral\gpiote_Test_AA\main.c 41

Would you please tell me what I am missing (I am new with the nRF52)?

Thank you!

Parents Reply Children
No Data
Related