Go Down

Topic: OneWire 2.2 preview (Read 3 times) previous topic - next topic

Paul Stoffregen

I'm getting ready to release OneWire 2.2.  Here's a preview copy:

http://www.pjrc.com/teensy/beta/OneWire_preview22_17jan13.zip

If anyone has any feedback about OneWire, please speak up ASAP (or wait approx 1 year for version 2.3)....

Coding Badly


A very minor thing and a question born purely out of curiosity...

There is a mix of tabs and spaces used to indent in OneWire.cpp.  I truly don't care.  But there are zealots who do and who are likely to complain (but they are also unlikely to find the perceived faux pas).  Just thought I'd mention it.

The timing in the OneWire library is a bit different than the timing called for by Maxim.  Was that done deliberately?  Have you found the results to be better with the different timing?

Paul Stoffregen

Quote
The timing in the OneWire library is a bit different than the timing called for by Maxim.


OneWire tries to be within Maxim's recommended timing, but towards the end of each recommended sampling period, to allow for long wires with extra capacitance.

Could you be more specific on the places with OneWire varies from Maxim's recommendations?


Coding Badly

Could you be more specific on the places with OneWire varies from Maxim's recommendations?


I can and I will but it will take a few days (day-job interference).

Coding Badly


Bugger.  I missed a newer document describing the timing... http://www.maximintegrated.com/app-notes/index.mvp/id/74

This is the one I've been using... http://www.maximintegrated.com/app-notes/index.mvp/id/126

I'll report back after I've dug through the newer one.

Go Up