- This topic has 2 replies, 3 voices, and was last updated 12 years, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › USART
Hi,
I’m doing a project with atmega16 that I need USART with baud rate 9600.
I’m using a 7.3728 MHz crystal. Is this the clock that I need to calculate UBRRL value?
Thank You
I thing, you are on the right track.
You are doing correct. Using a 7.3728 crystal, for 9600 Baud rate the UBRRL value would be 0x2F in hexdecimal or 47 in decimal.