Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
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.
 

if you are using atmel studio 6 . thay have included all the libraries in atmel software frame work.. check it out..
 

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top