This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UCD3138064: A question about UCD3138064 as a host to write to the temperature sensor

Part Number: UCD3138064

I configured the UCD3138064 to master mode, and then when writing to the temperature sensor, I don't know what flag to select to determine if the slave was found. Because, when I write to a non-existing slave address, the I2CRegs.I2CST.bit.EOM flag is set and I2CTXBUF is cleared. Why is this? How can I tell if I have found a slave?

Looking forward to your reply! Thank you!

  • If the UCD gets a NACK, it will send a stop to conclude the message.  So I would suggest looking at the NACK.  I expect that will be set.  Or you have your answer anyway, If you see an EOM with no data, it must have been NACKed.