Searching \ for 'What is I2C ?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/i2cs.htm?key=i2c
Search entire site for: 'What is I2C ?'.

Truncated match.
PICList Thread
'What is I2C ?'
2000\03\09@112335 by John Pearson

flavicon
face
What is the I2C ? (I hope I have it right, !2C). Is it a wiring thing. Is
it addressable serial devices?

I am interested in addressable serial devices. I read about Anabug4 in Nuts
and Volts mag. They use E3C to address serial devices so that many can be
placed on one serial line.

Another question: could this work? A pic is used as a serial switch for
9600 baud. It recieves a command to allow a serial transmission to pass
through it, or to stop the transmission. Would the delay from the bit
twiddling (transferring inputs to an outputs and visa versa) mess up the
serial transmission?
What I am getting at is using a pic to make serial device into an
addressable device.

Thanks for any help.

John

2000\03\09@152054 by w. v. ooijen / f. hanneman

picon face
> Another question: could this work? A pic is used as a serial switch for
> 9600 baud. It recieves a command to allow a serial transmission to pass
> through it, or to stop the transmission. Would the delay from the bit
> twiddling (transferring inputs to an outputs and visa versa) mess up the
> serial transmission?

I do this in my WISP programmer. The PC talks to the programmer via the
serial port. In normal mode the programmer (a 16f84) interprests the
communication, and it manipulates the RB6 ad RB7 pins of the connected PIC
(also a 16f84) to program it. A certain command puts the programmer is
pass-through mode, so the firware copies the serial lines to and from the
RB6 and RB7 of the programmed PIC. So I can program the target and
communicate with it, without leaving my PC. The speed of the pass-through
is mainly limited by the check for a break condition, which takes the
programmer out of the pass-through mode. The trick is that with propper
choice of the pins a simple shift of the port buffer can copy both
directions, so without the check for a break you can copy takes 3
instructions (1 for the shift, 2 for the goto), or 3 * 4 * 0.1uS ~ 1uS with
a 10 MHz xtal, which will be sufficient up to ~ 100kbaud.

Wouter

2000\03\10@032947 by Ismael M. Khangane

flavicon
face
Hello John:
It's a two wired communication protocol whereby you can decide to choose any
mode ( master-slave or multimasters for addressing devices ). The one where as
u are supposed to define a baud rate is for the PIC17C75X if I am not wrong but
for pic16c7x there is no need as is already implemented by HW. Also u can
establish handshaking by hw too.

John Pearson wrote:

{Quote hidden}

--
------------------------------------------------------------------
Ismael M. Khangane, Specialist in Robotics. Automatic Control & Systems ( Bsc
in Eng.)
Instituto de Automatica Industrial IAI-CSIC
Madrid, Spain.
Tel: (34) 91 871 1900
Fax: (34) 91 871 7050
E-mail: spam_OUTimkespTakeThisOuTspamexcite.com ; .....ismaelmKILLspamspam@spam@iai.csic.es
------------------------------------------------------------------

2000\03\23@214251 by swsst16+

picon face
John,

       Someone probably told u this already but if they didn't I2C stands for
Inter-Intergrated Circuit Bus. It's a two line serial bus. You can attach an
unlimited amount of ICs to the clock and data lines of the bus and address
them through software. It's a kick ass idea but it is very hard to implement
due to timing issues. Trust me... I know.....

Shawn

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...