xMega USART: Which pins?

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

On the E5 chips, the USARTC0 can be on PORT C pins PC1, PC2 and PC3; or on PC5, PC6 and PC7. Where do you select which? I want to use PC1, PC2 and PC3. DOC8049 seems a little brief.

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

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

Unless you set a bit to move it the chip will default to the lower pins.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

The lower port pins are default as John say. If you want the upper pins you set a bit in the PORTC.REMAP register. See 12.13.13 in the Xmega E manual.

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

Cool. Thanks.

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut.