Extra serial port on crowduino (solved)?

I’m using a SODAQ N211 shield on a crowduino mcu board. For an application I need an extra serial port. I’ve tested two options:

  • Including the Arduino SoftwareSerial library doesn’t (isn’t supported on a M0)
  • defining “serial2” also doens’t work despite the fact that the SAMD has 6 SERCOM devices.

Any suggestions for how to create the extra serial port?

Hi @felixdonkers

You need to modify the variant files in order to use more sercoms for uart
I Windows these can be found here:
C:\Users[user]\AppData\Local\arduino15\packages\arduino\hardware\samd\1.6.18\variants\arduino_mzero

1 Like

also see: https://learn.adafruit.com/using-atsamd21-sercom-to-add-more-spi-i2c-serial-ports?view=all