-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DS2413 device communication protocol not implemented correctly #79
Comments
Yeah, you could be right! Also there seems to be an endless loop for more latching after that. Don't know how i could miss that! Will look into it |
I fixed this in my local install in this way, in
with
Which seems in line with the datasheet and stops my Raspberry Pi giving read errors on the device. |
I confirm ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ack Success (0xAA) and Ack Failure(0xFF) Bytes are not implemented correctly on the DS2413 emulated device. The proper protocol should be
Master: Reset
Slave: Presence Pulse
Master: Select ROM
Master: 0x5A - Access Write
Master: 0xFE - Turn on Latch A
Master: 0x01 - Inverse of previous Byte for integrity check
Slave: 0xAA - if Success 0xFF - if Failure
slave: 0x3C - Access Read byte with PIO and Latch states
Master: Reset pulse
The text was updated successfully, but these errors were encountered: