]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
msp430 usci: fix DMA TX byte overwrite
authorR. Steve McKown <rsmckown@gmail.com>
Mon, 29 Dec 2014 23:02:27 +0000 (16:02 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Mon, 29 Dec 2014 23:02:27 +0000 (16:02 -0700)
The DMA transmit operation for USCI was a little naive, in that it was
not accounting for the possibility that UCxxTXBUF already has a byte to
be transmitted.  Wait for this byte to be transmitted before starting
the DMA operation.

Also note in the code that the DMA transfer operations, trigered by
UCxxTXIFG, are edge sensitive.


No differences found