usart interrupts vs freertos polling
My application has a low priority usart receive function - meaning that if characters are delayed it's no big deal. I've been using interrupts with a callback receiving one character at at time with a read always outstanding. I process flags and buffer within my code. I'm thinking of switching to freertos for the charting and interface functions. I tried the code with interrupts and callback and then figured out that the callback is on the interrupt vector level (can't be assigned to a task). So if I wanted to lower the priority of the usart read, would I be better off polling in a low priority freertos task? That way if one of the higher priority interrupts came in the mcu wouldn't be in an interrupt routine.
Thanks for all your help.
Jerry
