orgua / OneWireHub

OneWire slave device emulator
GNU General Public License v3.0
343 stars 86 forks source link

DS2431 wrong answer (0x55) at Copy Scratchpad Command #133

Open bauergeorg opened 9 months ago

bauergeorg commented 9 months ago

Hi folks, we are using OneWireHub and we are very happy about this cool project. Thanks a lot!

Bug By using the DS2431 with an own server implementation we found a hysteric behavior by writing memory function. I found a different behavior between the real chip and the emulation. The real chip answers with 0xAA, the emulation answers with 0x55 (or different) during the “Copy Scratchpad” procedure.

Here is an extract of the DS2431s datasheet.

image

Below you can see a timing diagram of a logic analyzer (Saleae Logic Analyzer) of the real chip (Answer 0xAA):

image

Below you can see a timing diagram of a logic analyzer (Saleae Logic Analyzer) of the emulated chip (Answer 0x55):

image

Environment

Thank's a lot!

Georg