I've been reading the datasheet and user guide and I'm a little confused about how to configure and control the 2231 in I2C slave mode. The code examples I've looked at use P1.6 and P1.7 for clock and data but looking at the datasheet I see P1.5 can be SCLK and P1.6 can be SCL. At least P1.7 is the only SDA.
If I also understand things correctly when you configure using USI control registers you don't have to configure the ports like you normally do, is that correct?
Since code space is very limited with this device is the "TI_USCI_I2C_slave" better to use or follow the examples that use USI and then have I2C_State controls in the ISR?
I currently am trying to experiment with the USI/I2C_State but when it gets set to 4 the iterrupt doesn't get triggerred again to check if the slave address matches. I'm using a bus pirate as the master and just trying to probe the MSP430 right now but haven't got too far. When I tried to use the TI example code I received a lot of compile errors so I shied away from that for now.