Part Number: MSP430FR4133
Other Parts Discussed in Thread: TMP117, , CC3220SF, CC3120
Im pretty new to this MCU so I'm trying to get a grasp of how to communicate with I2C. I understand how to set the GPIO pins so that I can communicate with a slave but my problem is that my slave, TMP117, has multiple registers on it for setting limits, offsetting, configuring etc. The data sheet shows that the TMP has a pointer register that will send the data to the corresponding register that I want to write to but I am a little confused at how to initiate that. I looked at the example code for the board and i have read the driver file but I can't figure out how to write to a specific register on my device. The driver looks as if it is only able to send data to the base address of the slave and not specifically to its registers. Am I mistaken? If so are there any examples of doing this?