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.
I'm trying to emulate TMP117 as i2c slave communicating with MSP432E401 as i2c master. So, I connected I2C4 (master) to I2C1 (slave) on same MSP432E as shown below, and configured the DriverLib samples i2c_mastermode_simple_transfer.c (I2C4SCL) and i2c_slavemode_simple_transfer.c (I2C1SCL). Both are using IRQ handlers with the slave's IRQ is enabled first (i.e, no-rtos).
The slave module does not acknowledge the address byte (0x48), as indicated in the i2c line trace below (scope trace is triggered on master writing slave address 0x48). Is there a way/workaround to get this to work in principle?
Thanks.
Wiring Diagram:
------------------------------- MSP432E401Y -------------------------------
Slave Master
PG0|<->I2C1SCL -------------------------------- I2C4SCL<->PK6
PG1|<->I2C1SDA -------------------------------- I2C4SDA<->PK7
------------------------------------------------------------------------------------
Hi Lasto,
Sorry for the delayed response. I will look into this and get back to you soon.
Thanks,
Alexis
Hi Lasto,
I know you're not using RTOS, but I recommend checking out the SAIL plugin implementation for the i2ctmp116 or i2ctmp007 examples for guidance.
http://www.ti.com/tool/download/SIMPLELINK-SDK-SENSOR-ACTUATOR-PLUGIN
Thanks,
Alexis
**Attention** This is a public forum