Hi Marc
Check M5223X.c - assuming that you have the later service pack installed it will contain the following:
#ifdef I2C_ON_QS // {31}
PQSPAR |= ((ALT_1_FUNCTION_Q << BIT_2_Q_SHIFT) | (ALT_1_FUNCTION_Q << BIT_3_Q_SHIFT));
#else
PASPAR |= ((PRIMARY_FUNCTION_Q << BIT_0_Q_SHIFT) | (PRIMARY_FUNCTION_Q << BIT_1_Q_SHIFT)); // configure the SDA and SCL pins
#endif
If you don't use the latest (presently SP8) you can add this.
It sets up the ports for use as I2C pins. If you define I2C_ON_QS (usually in app_hw_m5223x.h) it will configure the project to use the alternative pins rather than the primary ones.
I2C can operate on port AS[0],AS[1] or alternatively on QS[2],QS[3]. The exact pins depend on the package and you can run the simulator to see to verify the port configuration and also the pin numbers.
Regards
Mark