Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: SPI communication Between MSP430F5529LP

$
0
0
Yes, but you have to be sure that the flag was cleared before. The flag gets cleared if you clear it yourself or if the RX buffer was read. To be sure you can write: UCB0IFG &= ~UCRXIFG; UCB0TXBUF = byte; while( !(UCB0IFG&UCRXIFG) ); Otherwise there could be a set flag from an earlier transmission. Of course there shouldn't be a running transmission in the background that could raise the flag. Another option would be checking for the UCBUSY flag.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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