AnsweredAssumed Answered

The need for RTOS Drivers

Question asked by Pedro Correa de Castro on Jun 20, 2017
Latest reply on Jun 29, 2017 by xiangjun.rong

Hello everybody,

I am working on examples from the kinetis SDK 2.0 for the processor KV31F specifically the UART driver at the moment. Looking at the examples and the API, there are three drivers I could use: the UART Driver, the one using DMA and finally the UART FreeRTOS Driver. Since I would like to use the freeRTOS I was wondering why is there a need for an specific driver just to use with an RTOS. Why couldn't I just call the regular UART API inside an RTOS Task? Besides, is it possible or advisible to use the DMA Driver with the FreeRTOS?
I know my question is more theoretical than usual, but still I think it is a good point for discussion!

 

Thanks in advance

Outcomes