Skip to content

stm32 i2c slave v1 second byte has many duplicates when calling respond_to_write async #5287

@ChocolateLoverRaj

Description

@ChocolateLoverRaj

See #5260 (comment)

I am using i2c with a esp32c3 as the controller and stm32 as the peripheral. The esp32c3 sends [10, 20].

When calling respond_to_write on the stm32, I'm seeing received data: [10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20] when the i2c controller is an esp32c3, even with 4.7k pull up resistors. This only happens when using respond_to_write and does not happen when using blocking_respond_to_write. This happens at both 100kHz and 400kHz.

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