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.

MSP-EXP430FR2355: I2C Slave example code msp430fr235x_eusci_i2c_standard_slave.c modifications

Part Number: MSP-EXP430FR2355


Hi I'm building a I2C slave using EXP430FR2355, using two LaunchPads and connect them with pull up R propoerly. The examples msp430fr235x_eusci_i2c_standard_slave.c and msp430fr235x_eusci_i2c_master_slave.c show everything expected.

So next, I'm trying to use the master to send  a master_read using a CMD_register not specified in the slave code. And then the Slave hold the bus low.

 I2C_Master_ReadReg(SLAVE_ADDR, 9, TYPE_0_LENGTH);

My question is:

Do I need to modify the slave function I2C_Slave_ProcessCMD(uint8_t cmd)? That if any not specified CMD_register was received, the slave should do something to

avoid holding the bus low. 

**Attention** This is a public forum