Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

UART receive causing knl.Clock assert?

$
0
0

I am using the UART at 115KB and have added additional code to be processed in my foreground loop (1ms ISR).

It ran fine with and without using a UART ISR. But the latest code stops receiving data.

2 boxes talking to each other, sending 10 bytes to each other every 1ms. Also have an Ethernet comm channel - the primary box.

FIFO set up polling, no ISR, no DMA. I have two different scenarios. In one scenario I crash with a "ti.sysbios.knl.Clock: line 189: assertion failure: A_badThreadType: Cannot create/delete a Clock from Hwi or Swi thread.

<<exception raised>>

In the other, no assertion, but the receiver side stops receiving data. But both boxes are still transmitting - sniffing the RS-232 line. 

This all happened when additional code was added.

a) could the 1ms foreground ISR be killing me?

b) what can I check on the UART side to see what is happening?

Thanks,


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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