Skip to content

Bug in I2C implementation in the SAMG55J18 #1770

Closed
@kgoveas

Description

@kgoveas

Hi @Parthasarathy,

I discovered an implementation bug in the i2c_api.c. The address in line 270 and line 358 should not be modified as it ends up corrupting the address.
Current code
packet.chip=(address>>1) & 0x7F;
Expected code
packet.chip=address;

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