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

Forum Post: RE: Problem using DriverLib in I2C polled mode on MSP432 Launchpad

$
0
0
Hi Scott, [quote user="Scott Whitney80914"]Hi all, As I thought about this some more, it occurred to me that what _might_ be happening is that the DriverLib calls to send bytes are executing so fast that the transmit data is being overwritten before it can be fully sent out. It appears that once the data is transferred from the UCBxTXBUF register buffer into the shift register, UCTXIFG0 is set, per the Family Technical Reference Manual. [/quote] I think that is unlikely, as the driverlib calls you are using are polling the TX flags whether the data has been already sent. So in theory, this should not happen. Since I am no expert on the driverlib, I would suggest to step through the execution with a debugger and monitor the eUSCI_B flags. Cheers, Dan

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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