Hi,

Besides more restrictive electrical specifications and timeouts to prevent the
bus  to be locked, SMBus is a subset of I2C, i.e. for the protocol every I2C
master device can send all commands a SMBus slave is able to understand while
this is not true the other way around. Because of this it would be better to
stick to SMBus commands. If the PXA board is truely I2C it should be no
problem for it to issue all the SMBus commands. That it is not SMBus compliant
can only mean that it has other electrical characteristics or does not support
the timeouts required by SMBus.

Christoph

On Sat, Apr 22, 2006 at 03:37:04PM -0400, Paul Alfille wrote:
> That's OK. There is so little actual i2c code, I can use the raw i2c commands.
> 
> Near as I can tell, there are only a few primatives:
> DeviceReset
> 1W reset
> 1W channel select
> 1W read/write byte
> 1W triplet
> 1W powerbyte
> 
> Some things, like selecting i2c address, and distinguishing between -100 and 
> -800 aren't so clear. Testing will be useful.
> 
> Paul
> 
> 
> On Saturday 22 April 2006 03:30 pm, Jan Kandziora wrote:
> > Am Samstag, 22. April 2006 15:55 schrieb Paul Alfille:
> > > Ok, after perusing a lot of code examples, I get it.
> > >
> > > Everyone cheats. They either copy the relevant defines from the header
> > > file, or pretend that kernel headers are the same as glibc headers. It's
> > > messy, but I can do that.
> >
> > I'd like to add here the PXA board I have here is said to have no support
> > for smbus protocol - I'm not sure, but I think that's solely a driver
> > issue, right?
> >
> >     Jan
> 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to