AnsweredAssumed Answered

Interrupt in freertos_i2c

Question asked by David Zhu on Sep 21, 2019
Latest reply on Sep 24, 2019 by Daniel Chen

Hello,

 

I am testing freertos_i2c_frdmk66f demo project.

 

I found master task has a higher priority than slave task

 

/*******************************************************************************
* Definitions
******************************************************************************/


/* Task priorities. */
#define slave_task_PRIORITY (configMAX_PRIORITIES - 1)
#define master_task_PRIORITY (configMAX_PRIORITIES - 2)

 

 

But slave IRQ has a higher priority than master irq.

I don't understand this, could someone please can explain it?

Outcomes