Hello everybody who is familiar with the nRF Connect SDK and NRFX drivers,
I cannot find any documentation about interrupt priorities in the nRF Connect SDK documentation. There is some information available in the nRF5x S140 documentation, but not in the nRF Connect documentation. I also coudln't find any information in the nRF5340 Product Specification (v1.3).
Question 1: How are interrupt priorities handled on the nRF5340 and in nRF Connect SDK? Please add a chapter to the official documentation.
Question 2: The NRFX_UARTE driver requires an interrupt priority definition in the nrf_uarte_config_t structure (member: interrupt_priority). It is a uint8_t value. What value should I use to initialize this member? Is there a macro available? Does the interrupt_priority value depend on the SoC being used? (e.g. different values für nRF5340 and nRF52832)?
Question 3: The NRFX_UARTE driver defines a callback function for received data (or finished send buffer). In which context (and under which interrupt priority level) is this handler called? ZEPHYR is initialized and running some tasks in the background.
Best regards,
Michael