Searching \ for '2 different I2C addresses with PIC' 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: '2 different I2C addresses with PIC'.

Truncated match.
PICList Thread
'2 different I2C addresses with PIC'
1998\09\30@094223 by Tero Leppanen

flavicon
face
Hi all,

Have anyone tried to receive I2C data with two different I2C
addresses ?

I'm using 16LC74A's I2C module.


----
Tero

1998\09\30@110206 by Thomas Magin

flavicon
face
At 09:42 30.09.98 -0400, you wrote:
>Hi all,
>
>Have anyone tried to receive I2C data with two different I2C
>addresses ?

Yes, me,

actually with four PICs, all in slave mode. No problem at all. A PowerPC is
working in master mode.

So long

Thomas
=8-)

--

**********************************************************
* Thomas Magin                  FON:   ++49-761-4543-489 *
* marquette-Hellige GmbH        FAX:                -507 *
* E-FW / Emergency Systems      email: spam_OUTmaginTakeThisOuTspamhellige.de  *
* Munzinger Str. 3                                       *
* D-79111 Freiburg / Germany                             *
**********************************************************


'2 different I2C addresses with PIC'
1998\10\01@021116 by Tero Leppanen
flavicon
face
> >Hi all,
> >
> >Have anyone tried to receive I2C data with two different I2C
> >addresses ?
> Yes, me,
>
> actually with four PICs, all in slave mode. No problem at all. A PowerPC is
> working in master mode.
>
> So long
>
> Thomas
> =8-)


Actually, I meant receiving (or sending) data with one slave mode
PIC, which have two different I2C addresses.... Both addresses should
be available all the time.


---
Tero

1998\10\01@034711 by Thomas Magin

flavicon
face
At 02:11 01.10.98 -0400, you wrote:
>> >Hi all,
>> >
>> >Have anyone tried to receive I2C data with two different I2C
>> >addresses ?
>> Yes, me,
>>
>> actually with four PICs, all in slave mode. No problem at all. A PowerPC is
>> working in master mode.
>>
>> So long
>>
>> Thomas
>> =8-)
>
>
>Actually, I meant receiving (or sending) data with one slave mode
>PIC, which have two different I2C addresses.... Both addresses should
>be available all the time.
>

IMHO,

impossible if you're using the already implemented I2C-Hardware. If you like
to write your own slave code it shouldn't be any problem to check the
incoming adress for two different values.

So long

Thomas
=8-)

--

**********************************************************
* Thomas Magin                  FON:   ++49-761-4543-489 *
* marquette-Hellige GmbH        FAX:                -507 *
* E-FW / Emergency Systems      email: .....maginKILLspamspam@spam@hellige.de  *
* Munzinger Str. 3                                       *
* D-79111 Freiburg / Germany                             *
**********************************************************

1998\10\01@050131 by Alexander Colquhoun

flavicon
picon face
Hi,

The Slave mode PIC should only have one unique Address.

Bits 1 to 7 form the Address. The last bit of the Address
Bit 0 (The Read /Write bit), determines the direction of the data
transfer, i.e., whether it is a Slave transmitter or Receiver.

Cheers,

-Sandy.

{Quote hidden}

1998\10\01@055027 by Keith H

flavicon
face
Tero Leppanen wrote:
>
> Has anyone tried to receive I2C data with two different I2C
> addresses ?
> Actually, I meant receiving (or sending) data with one slave mode
> PIC, which have two different I2C addresses.... Both addresses should
> be available all the time.

This could be a useful way of replacing multiple I2C devices with one,
but you can't do this with a PIC. It only has one slave address
register, and you can't make it ignore any bits.
The I2C spec says all devices should respond to a broadcast
address (zero) but I dont know any device that does.
However if you do need a broadcast address (e.g. for emergency
failsafe or reset messages) then zero would be the one to use.

You could have external jumpers read to set the address.

It's completely possible to have I2C messages which say
"your I2C slave address is now..." or
"your I2C slave address should be your default"
which is a "jumperless" equivalent.
This technique is used in access.bus (I2C based)and
SDS DeviceNet (CANbus based) devices.
-----------------------------------------
Amusing cosmology quotations:
http://www.ac.wwu.edu/~skywise/cosmo.html
-----------------------------------------

1998\10\01@061035 by Gavin Jackson

flavicon
face
part 0 1631 bytes
Correct me if I'm wrong be isn't the address 00H a global address
for I2C?

Gavin
--------------------------
.....vulcanKILLspamspam.....ihug.co.nz
ICQ# 18675389
www.geocities.com/TheTropics/Cabana/2625
--------------------------



{Original Message removed}

1998\10\01@093659 by paulb

flavicon
face
Keith H wrote:

> The I2C spec says all devices should respond to a broadcast address
> (zero) but I dont know any device that does.

 Probably due to the difficulty of determining what they would, or
indeed *could* do with a "broadcast" message.

 It«s one of those nifty features that are very elegant, but just don«t
fit a particular use yet.
--
 Cheers,
       Paul B.

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