I am beginner in learning MSP430. I am using MSP430fr2433 to communicate with Rpi compute module over I2C.
In Rpi tools are available to detect the I2C bus and to read the ADC value from MSP430. So, I have successfully programme my MSP430 into slave mode. As the connection defined in the schematic that i am using, there is status that I can read from P2.3 of MSP430. But I am not sure what data address I need to specify in the below command on RPi side:
i2cget -f -y 0 0x48 [DATA_ADDRESS] w
In above command, 0 is the bus address and 0x48 is chip address. Now, what I need to know is data_address for pin 2.3.
Any help will be appreciated.
I think that you can program up to 4 hardware registers it recognizes in the IIC hardware. See this app note.
Look at this thread, it points to code example that comes with composer studio that will let you program an i2c slave address to MSP430FR2433