gnupic: 16F877 I/O


Previous by date: 8 Mar 2004 19:19:35 -0000 16F877 I/O, Gaston G. Izaguirre
Next by date: 8 Mar 2004 19:19:35 -0000 Re: 16F877 I/O, Franz Holzinger
Previous in thread: 8 Mar 2004 19:19:35 -0000 16F877 I/O, Gaston G. Izaguirre
Next in thread: 8 Mar 2004 19:19:35 -0000 Re: 16F877 I/O, Franz Holzinger

Subject: Re: 16F877 I/O
From: Scott Dattalo ####@####.####
Date: 8 Mar 2004 19:19:35 -0000
Message-Id: <Pine.LNX.4.44.0403081044020.23159-100000@ruckus.brouhaha.com>

On Mon, 8 Mar 2004, Gaston G. Izaguirre wrote:

> Hi,
> 
> I'm trying to implement serial rs232 communication for the PIC16F877 by
> software instead of using the built-in UART (dedicated to other task). What
> resources (links, lectures, source code, etc) would you recomend me for this
> task.

I'd recommend dedicating TMR2. If you only need to transmit from the F877 
then you can program TMR2 to generate an interrupt equal to the time for a 
single bit. If you have to receive as well, then you're going to want to 
poll at least 3 times faster and use a majority weighting to determine the 
sampled bit. You may wish to search piclist.com (before you do this, 
you'll have to turn on cookies in your browser...) for an example.

Scott


Previous by date: 8 Mar 2004 19:19:35 -0000 16F877 I/O, Gaston G. Izaguirre
Next by date: 8 Mar 2004 19:19:35 -0000 Re: 16F877 I/O, Franz Holzinger
Previous in thread: 8 Mar 2004 19:19:35 -0000 16F877 I/O, Gaston G. Izaguirre
Next in thread: 8 Mar 2004 19:19:35 -0000 Re: 16F877 I/O, Franz Holzinger


Powered by ezmlm-browse 0.20.