Hi, Raul,
I have downloaded the SDK_2.0_FRDM-K64F.zip, I have checked the directory, there are Freertos example in SDK. For the event example, pls refer to the following example:
D:\Freescale\SDK2.0\boards\frdmk64f\rtos_examples\freertos_event\kds
For the interrupt example, you can refer to the directory:
D:\Freescale\SDK2.0\boards\frdmk64f\rtos_examples\freertos_swtimer\kds
You can post an event in the callback function of the swtimer, the task with the xEventGroupWaitBits() will be running with OS intervening..
You can refer to the Richard Barry reply for the task efficiency.
Hope it can help you.
BR
Xiangjun Rong