Hi guys,

 

I'm making a communication system using UART0, and it seems UART overrun
error frequently happens.

 

I read some document about UART, and it says if UART interrupt is not fast
enough, that error occurs.

 

I'm doing nothing but a UART transmission, so I'm suspecting CPU is doing
something else when UART is transmitting.

 

And I guess it's related to atomic section or something like that, so my
questions are following.

 

1.       Is atomic section turn off entire interrupt?

2.       If a interrupt handler is defined TOSH_SIGNAL, not TOSH_INTERRUPT,
is it true that interrupt can not be nested? What happens TOSH_SIGNAL
interrupt has occurred during another TOSH_SIGNAL interrupt is on handling?

3.       I can see frequent error packets through UART, is it possible
reduce error rate through UART?

(Down to ideal error rate of UART with specific baud rate)

 

Any advice will be highly appreciated. Thanks.

 

With Kind Regards,

Kirak

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to