Skip to content

i2c Transfer and WriteRead #49

@9names

Description

@9names

When reading the datasheet I had assumed we can't do multiple operations without a stop bit.
But the SDK does look like it supports this.
https://github.com/bouffalolab/bouffalo_sdk/blob/7a6e8b07bc2ca242215d655793145d7293b9b100/bsp/common/image_sensor/image_sensor.c#L41-L49
https://github.com/bouffalolab/bouffalo_sdk/blob/7a6e8b07bc2ca242215d655793145d7293b9b100/drivers/lhal/src/bflb_i2c.c#L407-L419

It seems to be related to sub-address size? Need to work out what is required to fix this.

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