Skip to content

Read byte/word is incorrect and backwards #2

Description

@timreyes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions