bhadson2001 wrote: > i am recieving data serialy from PC to atmega16. i am recieving data > of four byte frame in avr.then i am setting the avr's ports according > to data recieved in USART RXC interrupt routine. i is working fine at > the starting. but after sometime it is mulfunctioning. what should i > do to resolve the problem. > > can any body give me its solution. > kindly help me, if you can or if you have any other > idea................ > thanks a lot for it.......... You do not provide enough information to help solve the problem, so I will be general: #1 you could have a problem with your stack #2 you could be trashing your buffer #3 you could have a corrupted data byte that is stopping your Rx routine from working.... #4 you could be ending up in an endless loop.... If you can post your code we can look over it. -- Regards, Kat.
Message
Re: [AVR-Chat] serial communication
2008-02-05 by Kathy Quinlan
Attachments
- No local attachments were found for this message.