Part Number: UCD3138064A
Other Parts Discussed in Thread: UCD3138A64OEVM-662,
Hello, I am looking for some example code for the UCD31xx that would allow me to talk to an EEPROM. The technical reference manual shows all of the registers needed for I2C master mode and nicely breaks them down. However, I am not able to find any examples how to use it. I have been experimenting writing various stuff to the PMBTXBUF register and PMBCTRL1, PMBCTRL3. Particularly SLAVE_EN and MASTER_EN. I have attached 1kohm pull-up resistors to pins 35 and 36 (I2C_DATA, I2C_CLK). The pull-ups are working (i.e. the signals are 3.3V with them attached) but I am getting no activity on the pins. Maybe I don't have the pins configured correctly or something? Maybe I have to configure some sort of clock source for the I2C master? It is not clear to me what specifically needs to be initialized or what particular steps cause the master to start clocking out data.
I am seeing that there is a demo board named "UCD3138A64OEVM-662", which apparently does have an I2C EEPROM onboard that can be enabled via jumpers (J50, J52). So that looks like it was intended to give a demo of precisely what I am trying to do. But I am not actually finding any documentation or sample code related to that. If anyone knows where I could find that, if it exists, that would be a great way for me to approach this.
From my perspective right now, I just want to get an address-write byte sent out and observe it happen with my scope. Once I have that first basic function like that I believe I could probably make a lot of progress from that point.

