Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | SMBus library?

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

SMBus library? - Alan Matheson - Aug 27 21:46:32 2008

I use I2C bus devices in an instrument, the I2C library supplied with
Dynamic C works very well.

Now I want to use a chip that has an SMBus interface. Superficially this
looks very similar to I2C.

Is it possible to use the I2C library to control these devices. If not is
there a library available anywhere that caters for this bus?

Alan Matheson
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )


Re: SMBus library? - Martin Honeywill - Aug 28 4:02:42 2008

--- In r...@yahoogroups.com, "Alan Matheson"
wrote:
>
> I use I2C bus devices in an instrument, the I2C library supplied with
> Dynamic C works very well.
>
> Now I want to use a chip that has an SMBus interface. Superficially this
> looks very similar to I2C.
>
> Is it possible to use the I2C library to control these devices. If
not is
> there a library available anywhere that caters for this bus?
>
> Alan Matheson
>

Hi Alan,

Yes they are pretty much compatible, the main differences are
electrical rather than the protocol. I have used the DC and Softools
(derived from DC) i2c code to access SMBUS chips with no problems. See
this link
http://www.maxim-ic.com/appnotes.cfm/appnote_number/476
for a comparison of the protocols.

Which chip are you trying to access?

Cheers

Martin Honeywill
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Re: SMBus library? - Alan Matheson - Aug 28 17:41:34 2008

Thanks for that Martin. I'm looking at the Melexis MLX90614DAA which is a non contact infrared temperature measuring device. Am trying to measure and control the temperature of a liquid seperated from the sensor by two layers of plastic and two air gaps. Not easy.

Regards
Alan Matheson

----- Original Message -----
From: Martin Honeywill
To: r...@yahoogroups.com
Sent: Thursday, August 28, 2008 8:02 PM
Subject: [rabbit-semi] Re: SMBus library?
--- In r...@yahoogroups.com, "Alan Matheson"
wrote:
>
> I use I2C bus devices in an instrument, the I2C library supplied with
> Dynamic C works very well.
>
> Now I want to use a chip that has an SMBus interface. Superficially this
> looks very similar to I2C.
>
> Is it possible to use the I2C library to control these devices. If
not is
> there a library available anywhere that caters for this bus?
>
> Alan Matheson
>

Hi Alan,

Yes they are pretty much compatible, the main differences are
electrical rather than the protocol. I have used the DC and Softools
(derived from DC) i2c code to access SMBUS chips with no problems. See
this link
http://www.maxim-ic.com/appnotes.cfm/appnote_number/476
for a comparison of the protocols.

Which chip are you trying to access?

Cheers

Martin Honeywill



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

RE: [SPAM] Re: Re: SMBus library? - jima...@idesolutions.us - Aug 28 18:03:12 2008

You may need to install an optical conductor in the air gaps in order for
the IR temp sensor to function properly.

That is what I had to do on a CLO2 system.

I installed a optical rod horizontally in the gap between the two plastic
tubes, so the sensor would not reflect off of the first air gap surface.

Good luck.

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of Alan Matheson
Sent: Thursday, August 28, 2008 4:45 PM
To: r...@yahoogroups.com
Subject: [SPAM] Re: [rabbit-semi] Re: SMBus library?

Thanks for that Martin. I'm looking at the Melexis MLX90614DAA which is a
non contact infrared temperature measuring device. Am trying to measure and
control the temperature of a liquid seperated from the sensor by two layers
of plastic and two air gaps. Not easy.

Regards

Alan Matheson

----- Original Message -----

From: Martin Honeywill

To: r...@yahoogroups.com

Sent: Thursday, August 28, 2008 8:02 PM

Subject: [rabbit-semi] Re: SMBus library?

--- In r...@yahoogroups.com, "Alan Matheson"
wrote:
>
> I use I2C bus devices in an instrument, the I2C library supplied with
> Dynamic C works very well.
>
> Now I want to use a chip that has an SMBus interface. Superficially this
> looks very similar to I2C.
>
> Is it possible to use the I2C library to control these devices. If
not is
> there a library available anywhere that caters for this bus?
>
> Alan Matheson
>

Hi Alan,

Yes they are pretty much compatible, the main differences are
electrical rather than the protocol. I have used the DC and Softools
(derived from DC) i2c code to access SMBUS chips with no problems. See
this link
http://www.maxim-ic.com/appnotes.cfm/appnote_number/476
for a comparison of the protocols.

Which chip are you trying to access?

Cheers

Martin Honeywill



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )