piclist 2000\11\21\170349a >
Thread: problems with interrupt driven uart, 16C63
face BY : Dan Michaels email (remove spam text)

Michael Shiloh wrote:
>Hi folks,
>I've become very frustrated with my inability to program a simple
>buffered interrupt driven uart transmitter. I hope one of you
>can figure out where my mistake is:

Hi Michael,

I noticed no one responded to your query - maybe because your
code is too long for anyone to want to look at, or maybe because
serial comm and C compilers have been beaten to a tiny pulp on
piclist numerous times.

I have never used a C compiler with PICs, so cannot help you there.
However, what I "would" recommend is stripping your code down to
the bare minimum, get that going, and then built it back up, one
step at a time.

First, try straight serial comm w/o interrupts. Then add in the
interrupts. Then add in the buffering stuff. Much easier to debug
the component parts individually, than to debug the entire thing
as a whole.

best regards,
- Dan Michaels
Oricom Technologies

http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email KILLspamlistserv.....spammitvma.mit.edu with SET PICList DIGEST in the body


See also: www.piclist.com/techref/microchip/ints.htm?key=interrupt
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) problems with interrupt driven uart, 16C63

month overview.

new search...