Hi,
When i use FreeRTOS tasks with priorities 2,3,4,5 what i need to #define for XXX_CONFIG_IRQ_PRIORITY of SPI,SAADC and GPIOTE at the file sdk_config.h
Thanks
Hi,
When i use FreeRTOS tasks with priorities 2,3,4,5 what i need to #define for XXX_CONFIG_IRQ_PRIORITY of SPI,SAADC and GPIOTE at the file sdk_config.h
Thanks
In FreerTOS P7 > P1 (higher number higher priority)
In ARM cortex NVIC SAADC P7 < SPI P6 (lower number is higher priority)
So any SPI event is serviced first in the SPI driver interrupt handler and then comes SAADC driver handling and if there is nothing else in SPI or SAADC, then freertos TASKS T2 and then T1 gets executed
In FreerTOS P7 > P1 (higher number higher priority)
In ARM cortex NVIC SAADC P7 < SPI P6 (lower number is higher priority)
So any SPI event is serviced first in the SPI driver interrupt handler and then comes SAADC driver handling and if there is nothing else in SPI or SAADC, then freertos TASKS T2 and then T1 gets executed