Dear,
Could you please give me your advice for following my question?
Device: MSP430F5635
Peripheral: UCSI_Bx, I2C mode, I2C Master Receiver Mode
I want to get/communicate just only "1 Byte" from/with target device.
But sometime I get "1 Byte", or sometime I get "2 Byte"...
My questions:
Q1) Could you please let me know the exactly timing of "UCTXSTT: 1 => 0"?
slau208m.pdf says in page 972 "UCTXSTT: UCTXSTT is automatically cleared after START condition and address information is transmitted."
Also slau208m.pdf say in page 962 "As soon as the slave acknowledges the address, the UCTXSTT bit is cleared."
I guess UCTXSTT is changing from 1 to 0 automatically when "ACK" from slave is reached at UCSI_Bx:SCxSDA.
Am I right?
Q2) Could you give me the C source code example for "UCTXSTP bit must be set while the byte is being received" in page 962 slau208m.pdf?
Best regards,
Okayama