AnsweredAssumed Answered

UART driver with FreeRTOS on K66

Question asked by Drugo Drughi on Aug 15, 2016
Latest reply on Aug 23, 2016 by xiangjun.rong

Hello community,

I need to implement a UART driver for a project with K66 micro-controller which uses FreeRTOS. Looking at KSDK_2.0.0, I saw there is a UART driver code examples among FreeRTOS ones ("freertos_uart"). I do not want to use KSDK library to implement this UART driver because I want to have it very simple and easy to be debugged.

 

In my project I have 2 UARTs which are handled by two different tasks. These tasks won't communicate directly.

So my question is: what kind of advantage I can have in implementing a UART driver like the one in "freertos_uart" code example? Wouldn't my UART driver code be easier to debug if I just developed it without using KSDK library functions and just using FreeRTOS "...FromISR"API functions inside the ISRs?

 

Thanks so much to anyone who can provide me with some help

Outcomes