USART Sync

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

I notice if bit 8 in mr is 0 its async mode and if 1 it is sync mode.

I see no where in usart.h where I can set that.

usart_mr_sync

Is it defaulted 0? meaning async mode?

Mike

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

Asycn Mode:

usart->mr = (0x00 << AVR32_USART_SYNC_OFFSET)

Sync Mode:

usart->mr = (0x01 << AVR32_USART_SYNC_OFFSET)

Answering myself.

Solved