Other Parts Discussed in Thread: INA219, , HALCOGEN
Tool/software:
Hello,
I am unable to find documentation online detailing a way to read the register values on an INA219 through I2C communication with my LAUNCHXL2-570LC43. I have the INA's VCC and GND connected to the microprocessor's 3.3V source and ground. The SCL is connected to the 3CS3 pin while the SDA is connected to the 3CS2 pin on my LAUNCHXL (booster pack 1, column J2, pins 8 and 9) as the board schematic detailed that I2C connection could be established with those pins (ref: https://www.ti.com/lit/df/sprr397/sprr397.pdf?ts=1748924725068 Booster pack site 1, page 7). For the time being I haven't set up a circuit to be analyzed just yet as I just want to understand if I can read the registers. This is the part where I get confused though: I wanted to know if there is a guide specifically for this device as I cannot seem to adapt the HALCoGen TMS570LC43x example_i2cCommunication.c example to what I need. Could someone give me an idea on how I can structure my code to perform this communication protocol between the two devices to simply read the value on a register like the Bus Voltage register as an example?
