Hi Karl
The M52259 has 2 I2C interfaces:
- I2C0 can be mapped to port QS or keeps its primary function on port AS
- I2C1 can be mapped to port QS, UB, UC, or TH (and has no primary function of its own)
On your M52259DEMO board I2C_SDA1 and I2C_SCL2 are connected to pins 10 and 12 of connector J4. These signals are also marked URTS2 and UCTS2, showing that they are connected to the pins on UC. On the 144 pin processor these are processor pins 98 and 97.
To test these pins using the demo project (for RTC DS1307) you can configure as follows:
In config.h enable the I2C driver with IIC_INTERFACE
In application.c enable TEST_DS1307
In app_hw_m5223x.h you can select the I2C interface (0 or 1) - set OUR_IIC_CHANNEL 1 for I2C1
In the same file you can define which port the I2C1 interface is mapped to. To match the M52259DEMO board set IIC1_ON_UC
Recompile and you should then find that the signals appear at the connector that you require. Note that, if the port for I2C1 is not specified it will default to port QS. If you measure pins 19 and 23 on connector J4 (assuming they have a pull-ups) you should see that the signals are presently there in case you haven't specified anything different.
Regards
Mark