Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: UART_read return UART_ERROR when another task perform uSD operations

$
0
0

Hello to everyone.

I'm using Concerto-M3 with TI-RTOS 1.21.00.09

(sysbios is 6.37.00.20)

and I write two tasks:

- "communication" priority 1, task is vital, stack 2048

- "logging" priority 1, task is vital, stack 2048.

"communication" open UART and in infinite loop perform RX - decode - TX.

"logging" wait for an event and then open SDSPI and then create a file to write some data.

If "logging" is waiting for the event "communication" work perfectly,

when the "logging" event is trigged and the task start to do its operations

"communication" fail to read (it return UART_ERROR) so I have to

close driver and re-open in order to restart communication.

Can someone help me ?

Thank you in advice


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>