Hello,
I'm using a MSP430FR2155 to implement some basic I2C read/write functionality for my application. The MSP430 is configured to be a slave device. My setup consists of an Aardvark I2C device, configured as a master to read data from the MSP430. The issue I'm seeing is that when the master performs a read for a single byte, at the MSP430 side, I receive two TX interrupts. I was expecting a single interrupt for every read performed by the master. I observe the following interrupts when the master performs a read of a single byte:
START, TX0, STOP, TX0, 9TH_BIT
If the master were to perform a 4-byte read, the following interrupts would happen:
START, TX0, TX0, TX0, TX0, STOP, TX0, 9TH
So it seems that there's an extra TX0 interrupt that happens AFTER the STOP. Could someone with knowledge on this subject matter kindly point out the difference between the initial interrupt(s) and the one that happens after the STOP? Appreciate any leads to where I can get the information (code, documentation, etc..) Thank.