Hi
Following from other posts, I have got the UART and SPI on the Tmote
working happily together using the BusArbitration module - I can happily
send data over the UART without affecting the radio. However, the
device I am interfacing to via the UART sends data asynchronously, and
obviously when I switch the USART back to SPI mode for radio comms, any
incoming UART bytes are missed.
Anyone have any ideas how the radio and the UART can be serviced without
continually polling between the two in the hope that data from both can
be caught in time? This procedure works to a point, but is pretty
inefficient and also seems to cause a null byte to be sent over the UART
every time it is stopped via USARTControl.disableUART().
Thanks for any help,
Andrew
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help