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

freertos and peripherals IRQ_PRIORITY

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

Parents
  • 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.

Reply
  • 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.

Children
No Data
Related