Hello, Now I have one strange problem. My cicuit works proper at 5500 baud rate, but when i puts value for 9600 or for 4800 the cicuit gives random value to terminal. can anyone please suggest me the solution of this?
R..P.Modi
----- Original Message ----
From: David VanHorn <microbrix@gmail.com>
To: AVR-Chat@yahoogroups.com
Sent: Saturday, 12 April, 2008 4:24:14 PM
Subject: Re: [AVR-Chat] Help for circuit design
> > For reset pin I have connected 10k resistor and 10uF capacitor.
> > Capacitor I am connectiong to ground at one end. and giving 5v
> > supply . so my circuit is as follow/.
> >
> > 10k
> > o----------- -^^^^^^^^ ^^^------ --------- ------|RST
> > |
> > |
> > |
> > === 10uF
> > |
> > |
> > ---------
>
> Remove the capacitor.
I wouldn't go quite that far, but I would change it to 0.1uF.
There are other possible problems, which we have discussed on here previously..
Check that your oscillator is actually running at the speed that you
think that it is.
Check that the connection between the PC and the AVR is correct,
including the ground lead!
Check that the AVR is set up for the same word format and bit rate
that the PC is.
Check that the USART is initted properly.
Check that your code waits for the transmit buffer to empty before
sending the next char...
Many things to verify, and until you get SOME sort of output working
right, it will be difficult to sort things out. Hopefully you have a
scope, or some means to verify basic operation.
Don't accept "sort of working" as "right". I got bit once with a VERY
nasty problem that showed up first as several different slightly wrong
things. (search the group for references to the CKOPT FUSE for
details) Serial comms being slightly at the wrong baud rate was one
of the symptoms.
<!--Message
Re: [AVR-Chat] Help for circuit design
2008-04-14 by rakesh modi
Attachments
- No local attachments were found for this message.