ATSAMC21N17A-ANT UART pins

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi 

    In our project we are using  ATSAMC21N17A-ANT  series microcontroller. I want to know the pin configuration of UART with pin out details. Kindly share me the datasheet of ATSAMC21N17A-ANT microcontroller.

 

 

 

Thanks& Regards 

 Pandian 

Last Edited: Tue. Apr 6, 2021 - 07:27 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

paulpandi wrote:
Kindly share me the datasheet of ATSAMC21N17A-ANT microcontroller

Go on - it's on the Product Page on the Microchip website:

 

https://www.avrfreaks.net/commen...

 

https://www.avrfreaks.net/commen...

 

 

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi 

 

I found the family datasheet of sam 20/21. In this datasheet they are mention some UARTpin out the image is attached as follows. I want to know the exact UART PIN of the ATSAMC21N17A microcontroller. If i want uart Which pin i have configure the uart TXD,RXD????uart pin out

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

  sorry, I forget to attach the datasheet. now I attach the datasheet kindly check and let you...

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

"I/O Multiplexing and Considerations" section? (Why do they password protect the datasheets?)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


paulpandi wrote:
I want to know the exact UART PIN of the ATSAMC21N17A microcontroller.

The pin assignment is flexible - as ezharkov said, you need to study the "I/O Multiplexing and Considerations" section:

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

See if this helps:  https://docs.google.com/spreadsh...

 

Yeah, it's confusing.   From the part of the datasheet that you quoted, you can figure out:

  1. Each UART uses several Pads (pad[0] - Pad[3] of some "Sercom" controller.
  2. You can configure and of the Pads to be the RxD signal.
  3. Only Pad[0] or PAD[2] can be the TxD signal.

 

So then you go and look in the "multiplexing considerations" table (or my spreadsheet), and figure out which pins have convenient PAD[] assigned to them in the SerCom or SerComAlt columns.

(Not all SAMxxx Sercoms are the same.  In particular, SAMD51 can ONLY use Pad[0] for transmit, making it more limited, and has some other restrictions on "pin sets.")

 

(oops.  I see that 100pin SAMC didn't exist when I made my spreadsheet, so it's not likely to be helpful :-( )

 

Last Edited: Thu. Apr 8, 2021 - 08:41 AM