Part Number:MSP432P401R
I have built a new board and I am trying to get I2C functionality to work. My code is hanging whenever I call MAP_I2C_masterSendMultiByteStart. Specifically at this point in the driverlib function:
while (!BITBAND_PERI(EUSCI_B_CMSIS(moduleInstance)->rIFG.r, UCTXIFG_OFS)) ;
I am using the example, updated for the SCL and SDA Pins I am using (P6.6 - UCB3SDA, AND P6.7 - UCB3SCL)
Attached is the code I have. What is causing it to hang?
When I look at my code from a logic analyzer, it shows that only SDA is sending data, and nothing is happening on SCL.
I fixed a hardware error (toombstoned termination resistor) on the SCL line, and now I get nothing on my logic analyzer at all. All connections on the bus seem to be intact, and there does not appear to be any more hardware errors. The termination resistors are 3.3K ohm.
(Please visit the site to view this file)(Please visit the site to view this file)