USART initialization

Status
Not open for further replies.

shashankshanky

Newbie level 3
Joined
Apr 14, 2013
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,312
hi everyone,
i am using a atmega16 development board with 7.3728MHz external oscillator. What will be the USART initialization for receiving data from the PC?
 

read the device's data sheet ( usart part), SFR settings for initialing USART must be there..
may be full sequence or some kind of example may be given in the datasheet..
 

hi,
If you use mikroC for AVR you will find libraries for all the functions of microcontroller including USART. Just include the library and initialization function and required baud rate and you are done.
 

Unless the development board has a logic level converter Ic in it, do not straight connect it to the computer.
UART voltage levels of computer differ from that of microcontroler.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…