SOLVED!
I solved my problem by changing the following code lines:
in "variant.h" :
#define PIN_WIRE_SDA (4u)
#define PIN_WIRE_SCL (3u)
in variant.cpp
{ PORTA, 9, PIO_SERCOM_ALT, (PIN_ATTR_DIGITAL/*|PIN_ATTR_PWM|PIN_ATTR_TIMER*/), No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_9 },
{ PORTA, 8, PIO_SERCOM_ALT, (PIN_ATTR_DIGITAL/*|PIN_ATTR_PWM|PIN_ATTR_TIMER*/), No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NMI },
in Wire.cpp
TwoWire Wire(&sercom2);
void SERCOM2_Handler(void) {
Wire.onService();
}
Now, I have the I2C communication working on ports D3/D4(PA09/PA08) very well!
Regards!