AnsweredAssumed Answered

KSDK2 twrk64f120m demo_apps sai can't work with FreeRTOS

Question asked by Yangping Liao on Oct 2, 2016
Latest reply on Oct 2, 2016 by Yangping Liao

I integrated the demo app from "KSDK2.0 boards\twrk64f120m\demo_apps\sai" with FreeRTOS by myself. Everything works well until I want to replace the callback function with a semaphore in the source file "sai.c". It seems to be the interrupt priority of which the FreeRTOS used is lower than the sai-edma transmission interrupt used. I already set the configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY to 1 in the file "FreeRTOSConfig.h". I can't find where to set the demo app's sai-edma transmission interrupt priority. Dose Anyone familiar with it? Thanks!