Skip to content

10bit addressing is not supported  #65

@shawnferry

Description

@shawnferry

Compiled from HEAD on Ubuntu 22.04

./i2cdriver --xfer="w1@0x13a 0xFF, r2"
Error: Not a valid I2C address "w1@0x13a"

For example address 314 (0x13a) is being captured but not parsed properly.
Signals generated externally

Monitor

Probe

Capture started
START 79 WRITE ACK
BYTE 3a ACK
STOP

Write then read

START 79 WRITE ACK
BYTE 3a ACK
BYTE ff ACK
START 79 WRITE ACK
BYTE 3a ACK
START 79 READ ACK
BYTE 00 ACK
BYTE 00 NAK
STOP

Capture

Write 255 to 0x13a then read 2 bytes

SW79.3A.FF.SW79.3A.SR79.00.00'P

Scan 10bit 252 (0xFC) - 261 (0x105)

W78.FC'P
W78.FD'P
W78.FE'P
W78.FF'P
W79.00'P
W79.01'P
W79.02'P
W79.03'P
W79.04'P

Scan 10 bit with response from 314 (0x13a)

W79.38'P
W79.39'P
W79.3A.P <---
W79.3B'P
W79.3C'P

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions