Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

Serial1 consumes SERCOM0 disabling other uses
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Serial1 consumes SERCOM0 disabling other uses

by jbasiago on Wed May 27, 2020 9:09 am

I have an application where I would like to use SERCOM0 to support serial communications that uses the Collision Detection feature of the UART in the SAMD21 chip set. I can't seem to find a way to be able to repurpose SERCOM0 for my intent without commenting out the Serial1 UART instantiation in variant.cpp of the Trinket_m0 library. Also, in order to use the Collision Detection feature, it would be really nice to extend the Uart and Sercom classes, but the instance variables are all private making it impossible to subclass from them. I basically have to create my own by coping the classes and reworking them. By the way, I already have plans for using SERCOM2 for an I2C I/O extension. Do you have any suggestions for me in this regard? Thanks.

jbasiago
 
Posts: 1
Joined: Sun Nov 26, 2017 3:53 pm

Please be positive and constructive with your questions and comments.