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
IRQ priorities set are higher in priority compared to priorities of FreeRTOS. The freertos in itself runs in thread priority, so the tasks priorities within freertos are priorities only for freertos scheduler. That is when its thread context is running. enabling any IRQ of any peripheral will give less time for freertos to run as freertos on our port is running at lowest priority.
IRQ priorities set are higher in priority compared to priorities of FreeRTOS. The freertos in itself runs in thread priority, so the tasks priorities within freertos are priorities only for freertos scheduler. That is when its thread context is running. enabling any IRQ of any peripheral will give less time for freertos to run as freertos on our port is running at lowest priority.