Exact match. Not showing close matches.
PICList
Thread
'[PIC:] 16f628 uart weirdness: TRMT stuck?'
2003\12\22@041744
by
Michael Park
I'm using the 16f628's built-in uart (fwiw: 4MHz clock, asynchronous 31.25k
baud, 8 bit).
For output, I wait for TXSTA<TRMT> before writing to TXREG. Meanwhile,
incoming serial data is handled by interrupt. This mostly works, but every
once in a while (actually quite often) TXSTA<TRMT> gets stuck on 0 and never
goes to 1(!). Have you ever heard of this problem? Any suggestions welcomed.
It *seems* to occur when serial input and output are happening concurrently,
but that's just my impression. Hope someone can help me out.
--m
_________________________________________________________________
It s our best dial-up Internet access offer: 6 months @$9.95/month. Get it
now! http://join.msn.com/?page=dept/dialup
--
http://www.piclist.com hint: To leave the PICList
spam_OUTpiclist-unsubscribe-requestTakeThisOuT
mitvma.mit.edu
2003\12\22@075133
by
Olin Lathrop
More... (looser matching)
- Last day of these posts
- In 2003
, 2004 only
- Today
- New search...