so you can use your own bitbang serial driver. needs some memory and time, but gives you full control, and is portable (not all 16f87x have a serial port). at 4mhz, you can handle up to 9600bps full duplex. tino Dave Tweed Gesendet von: pic microcontroller discussion list 30.04.03 14:50 Bitte antworten an pic microcontroller discussion list An: PICLIST@MITVMA.MIT.EDU Kopie: Thema: Re: [PIC]: Data transfer from P16F877 to serial PC Rick Regan wrote: > I understand the meanings of the flags but my question still remains. > Can you give an example where testing TRMT allows you to do something > that just testing TXIF exclusively couldn't do? If you're using a physical interface that requires a separate transmit-enable signal (like RS-485), you need to know when the last byte has been completely transmitted before you turn off the driver. -- Dave Tweed -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body