Additional hardware serial for MKR1310 using D4/D5 pins

Hi, i've seen that some people successfully created additional hw serial i/f for mkr1310 using D0/D1 pins by configuring sercom ... however, my problem is that i must implement an additional hw serial i/f using pins D4(RX) and D5(TX), since i am plannig to use a shield in which one serial i/f is attached to those pins (another one is available for pins D13/D14 to Serial1), as can be seen:

However, i'm not sure it is possible for mkr1310, since as far as i have seen in variants.cpp,D4 and D5 pins use sercom4 (in particular sercom4/pad02 and sercom4/pad03), which is also used for Serial2 (LoRa module).

Could anynone confirm that it is possible?. In that case, i would really appareciate if any can provide a reference of the initialization code for this additional serial i/f. Thanks

Hi, any help will be really appreciated. Best regards.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.