Skip to content
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

Read byte/word is incorrect and backwards #2

Open
timreyes opened this issue Nov 3, 2020 · 0 comments
Open

Read byte/word is incorrect and backwards #2

timreyes opened this issue Nov 3, 2020 · 0 comments

Comments

@timreyes
Copy link

timreyes commented Nov 3, 2020

See spec here:
http://smbus.org/specs/

image

Right now, the analyzer reads as Data Byte High -> Data Byte Low, which results in the incorrect SMBus message. Needs to be read as Data Byte Low -> Data Byte High.

The error is likely caused by this function:
https://github.com/saleae/smbus-analyzer/blob/master/src/SMBusAnalyzerResults.cpp#L102

See example below. Due to the spec above, the below should read as 0x0080, not 0x8000:
Screen Shot 2020-11-02 at 6 56 46 PM

Capture file attached.
ExampleForSupport.logicdata.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant