Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Atmel Samd21 Question
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Atmel Samd21 Question

by DavidCrane9999 on Tue Apr 07, 2020 7:55 pm

I'm working on a project with my High School's engineering class. We have been using your Adafruit Feather M0 Boards and are now learning PCB design. We are creating little circuit boards similar to the Feather M0, however, we have run into an issue.

On the Samd21G18, we are trying to set sercom ports. I have read many of your wonderful guides about setting sercoms, however, I have one question. On page 31 of the Samd21G18 datasheet, we are trying to set pins PA20, PA21, PA22, and PA23 to Sercom3. However, two of the pads are on the normal side and two are on the alt side. In order to assign these pins to be a full UART, what lines of code would we need to write? How would you structure the line of code in the Arduino IDE? Would this work?

Thank you so much and I look forward to your feedback. Your company has truly helped classrooms teach technology and circuits better and I am very thankful.

- David Crane

DavidCrane9999
 
Posts: 6
Joined: Sat Apr 04, 2020 3:47 pm

Re: Atmel Samd21 Question

by DavidCrane9999 on Thu Apr 09, 2020 4:33 pm

Could anyone help my class? @Adafruit? @Ladyada?

DavidCrane9999
 
Posts: 6
Joined: Sat Apr 04, 2020 3:47 pm

Re: Atmel Samd21 Question

by danhalbert on Mon Apr 20, 2020 3:39 pm


danhalbert
 
Posts: 2118
Joined: Tue Aug 08, 2017 12:37 pm

Please be positive and constructive with your questions and comments.