Hi, yeah I know, no topic tag. But I think I got what I need already. Kevin, The archive shows you posted that piece of code as a reply to my first uart post. I should have listened to you earlier. Sorry! And thanks! I'm gonna try it first thing tomorrow morning! Joris. ----- Original Message ----- From: Kevin Olalde To: Sent: Tuesday, October 16, 2001 12:42 AM Subject: Re: F628 uart (again) > Go back through the achives, Tony Nixon recently posted a small sample for me (I > was also having problems with the UART on thr '628). His sample worked 'right > out of the box'. > > Kevin > > > Joris van den Heuvel wrote: > > > > Hi piccers, > > > > I have been trying for days now to get an uart application with an F628 > > working but I'm at a loss. I tried picuart.asm by McGahee, but with no result. > > It seems that the uart in the F628 works a bit different. For instance, > > clearing TXIF after waiting for it to set does at least do something (blast > > the data without waiting for the previous byte to finish, the last byte is > > perfect), whereas without the clearing, the TX routine just won't work. > > Reception just hangs. > > > > Attached is some code. What it does is it wait for a signal to go high (GCD), > > send a message and then start echoing everything that comes in. Assume that I > > cleared the RAM. I modified the INC file so all bit names include their > > respective register names. That way I don't have to remember in which file > > register each bit is. > > > > So tell me: am I doing something really stupid or what? > > > > Regards, > > Joris. > > > > Name: F628 uart.txt > > F628 uart.txt Type: Plain Text (text/plain) > > Encoding: 7bit > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.