can PICs talk trasfer data from one to another using one of their pins ?
(w/o a UART, I mean).
Can 8051 uPs do the same ?
|> -----Original Message-----
> From: Duilio Foschi [SMTP:SUMMER.ETRURIA.NET] foschid
> Sent: Thursday, 16 September 1999 17:15
> To: MITVMA.MIT.EDUPICLIST
> Subject: transferring data
> can PICs talk transfer data from one to another using one of their pins ?
> (w/o a UART, I mean).
> Can 8051 uPs do the same ?
> Thank you
> Duilio Foschi
1 pin on each for one way transfer with self syncing, 2 pins on each
for two way transfer with self syncing, 3 pins on each if a clocking or
comms enable signal is used to synchronize all comms.
Self syncing usually involves sending a pattern in front of the data
to allow the receiver to do its housekeeping (break out of whatever other
routine it was doing) and watch for the start-of-data pattern. 6 x ASCII <U>
'01010101' is a good door bell pattern to use, followed by a null '00000000'
and char 255 '11111111' giving a big 'ding-dong' wake up followed by an
unmistakable 8 x 0 and 8 x 1 to identify the start of data -
On Thu, Sep 16, 1999 at 06:06:07PM +1000, Gennette Bruce wrote:
I'd suggest the emulation of I2C protocol, which allows 2 way transfer with
clock syncing on just two wires.
However it requires rather sophisticated software, if you are using PIC
without MSSP :-(.
Wojciech M. Zabolotny
http://www.ise.pw.edu.pl/~wzab <--> ise.pw.edu.plwzab
http://www.debian.org Use Linux - save your data and time
>> > can PICs talk transfer data from one to another using one of their pins ?
>> > (w/o a UART, I mean).
>> > Can 8051 uPs do the same ?
WZ> I'd suggest the emulation of I2C protocol, which allows 2 way transfer with
WZ> clock syncing on just two wires.
WZ> However it requires rather sophisticated software, if you are using PIC
WZ> without MSSP :-(.
No it doesn't.
for this purpose I use a software-emulated SST (synchronous serial
transmission) protocol. Depending of the data direction required, there is
a clock line, and one or two data line. It works fine as the clock
masters. However it is very important that the slave may not be late
(generate either slower clock or use faster XTAL for the slave).
I hope this helps.
On Thu, 16 Sep 1999, Dag Bakken wrote:
More... (looser matching)
- Last day of these posts
- In 1999
, 2000 only
- New search...