Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ESP32-s2 i2c - writeto with stop=False cause reboot #8135

@pavelrevak

Description

@pavelrevak

On ESP32-S2 and latest build v1.17-231-g0892ebe09 (2021-12-14) from https://micropython.org/download/ESP32_S2_WROVER/

attempt to i2c_write with stop=False cause restart:

import machine
>>> i = machine.I2C(0, scl=machine.Pin(9), sda=machine.Pin(8), freq=100000)
>>> i.scan()
[119]
>>> i.writeto(119, b'\xaa')
1
>>> i.writeto(119, b'\xaa', True)
1
>>> i.writeto(119, b'\xaa', False)
---- RESTARTED ----

same issue is with command: readfrom_mem where is also used "repeat-start"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions