Hi Roman,
I'm using owfs with ds2482-800 and found the communication slower than other
bus masters solutions.
However not that slow than you describe.
Analysing 1-Wire communication with a digital scope shown that an idle
period is visible between each byte and "tri-bits".
This idle period is around 1,3ms for my system (nslu2 with debian), this
reduce the effective throughput to 4kbit/s instead of 15kbit/s.
Do you have an hadware assited i2c controller embedded or are you using
software i2c?
I think that my behaviour come from software i2c that does not buffer
transactions and require attention from owfs between each byte and tri-bits.
Regarding the temp reading, I think you better to read 'temperature'
property after a simultaneous converT command instead of 'fasttemp' which is
not prepared by the simultaneou command. - Paul correct me if not true -
You may also find usefull information by starting your owfs daemon with
'--debug' param. Reading temp involve a blocking transaction that wait until
conversion is finished by polling 1-wire or for fixed time depending on
method used and parasite power mode.
Pascal
2011/2/3 "Roman Jałoza - TechBase Sp. z o.o." <r.jal...@a2s.pl>
> Hi,
>
> I'm developing 1-wire communication at embedded computer with ARM9 and
> ds2482-100 master chip.
> Is anyone test owfs performance via i2c master?
>
> I'm reading temperature from ds18b20 sensors and it took a long time (from
> 1,5s to 8s) with fasttemp read. It should be much faster. I've made some
> tests with writing simultaneous/temperature bit but performance was still
> the same - means poor.
>
> Reading PIO states from ds2408 device took about 600ms (but sometimes
> 1,5s).
>
> Devices are powered (reading with parasite mode took 5-8s).
>
> Is anyone have some idea? some solution?
>
> --
>
> Best Regards * *
> *Roman Jałoza*
> **
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
--
Pascal
www.brain4home.eu
to subscribe, send a mail to <list-subscr...@brain4home.eu>
------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world?
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers