Hi,

 I've connected 2 tmotes over the UART) expansion connector and am
 sending AM packets from one to the other. I'm using the
 HPLUSARTControl interface provided by HPLUSART0M to do this. The
 transmit function in this interface is byte by byte. So I have to send
 the entire AM packet byte by byte. I transmit one byte and then go
 into a busy wait till HPLUSARTControl .isTxEmpty() returns true. After
 this I send the next byte.

 The time taken for each byte to be transferred is around 1.2 ms (and
 for the whole AM packet is about 55 ms). This seems to be a very high
 value for transfer over wire. I analyzed it a bit further and found
 that the isTxEmpty() returns true after approx. 1.2 ms for each byte.

 Is there a way to reduce this time? Also, is there no event signaled
 when transmission is completed? There is a HPLUSARTFeedback interface
 but I could't find any implementation for it.

 Thanks,

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

Reply via email to