EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

MSP430 Understanding

Started by jainprince 4 years ago2 replieslatest reply 4 years ago132 views
Hi Guys,

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.
Thanks,
Prince

[ - ]
Reply by jmford94November 12, 2019


I think that you can program up to 4 hardware registers it recognizes in the IIC hardware.  See this app note.


http://www.ti.com/lit/ug/slau425f/slau425f.pdf

[ - ]
Reply by mbedNovember 12, 2019

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

http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/793854?MSP430FR2433-I2C-address-of-slave-MSP430

The 2024 Embedded Online Conference