Hello.
I use the bare metal SDK and I would like to generate a GRTC interrupt every 250ms to wakeup my system.
Which resources does the zephyr is already using (GRTC_x_IRQn, CC[n]) and what is available for me to use?
Best Regards
Hello.
I use the bare metal SDK and I would like to generate a GRTC interrupt every 250ms to wakeup my system.
Which resources does the zephyr is already using (GRTC_x_IRQn, CC[n]) and what is available for me to use?
Best Regards
Hi,
I do not believe there is a list of reserved GRTC channels, but what you are describing is a common use case for which I recommend you use the Bare Metal Timer library, which is intended for this purpose (when using the periodic timer). That is demonstrated in the Timer sample, and you can also see an example of it being used in the CGMS sample.
Edit: In case it is useful for other uses, GRTC channels 7 to 11 and interrupt GRTC_3_IRQn are reserved for the SoftDevice (The SoftDevice from the bare metal SDK has the same reserved hardware resources as the MPSL and SoftDevice Controller, as you can see in Hardware peripherals from the S115 SoftDevice Specification.
Many thanks for your help.