Other Parts Discussed in Thread: LP5860, MSP430F5529
The Arduino nano provides SDA and SCL for I2C connectivity. The LP5868 has a lot of registers and requires 10-bit addresses to select them. Arduino I2C libraries are generally 8-bit address implementations. Texas Instruments tech support tells me that Arduino libraries do not exist to drive the LP5868.
So I wrote Arduino IDE test code that manually manipulates SDA and SCL and switches SDA between input mode and output mode for ACKS and for reads and writes to the slave device. The hardware config is an LP5868 with its SCL and SDA pins connected to the SCL and SDA on the nano respectively, with 4.7K ohm pull-up resistors to +5V.
My interface is not working. The logic analyzer capture explains what I am seeing. This is a capture of me writing a value 1 to register 0 on the LP5868, and then reading back the value of register 0.
Any input including choice of an alternate microcontroller, logic or any other errors is appreciated.
The nano test code is: