Skip to content

I2C hang with very slow I2C slave (pic12f1840@500khz) #2162

Closed
@miky2k

Description

@miky2k

----------------------------- Remove above -----------------------------

Basic Infos

Hardware

Hardware: ESP-07
Core Version: 2.2.0

Description

On very slow device i2c hang SDA low and give strange results 01111001 instead 00111100 .

Settings in IDE

Module: Generic ESP8266 Module
Flash Size: 512K/64K
CPU Frequency: 80Mhz
Flash Mode: qio
Flash Frequency: 40Mhz?
Upload Using: SERIAL?
Reset Method: ck

Sketch

Wire.begin(12,13); //I2C pin
Wire.setClockStretchLimit(2000);

In my software(l is not important) :
Wire.beginTransmission(Addr);
Wire.write(0b00111100);
Serial.println("I2C write---"+String(l));
Serial.println(Wire.endTransmission(1));

Serial Output:

I2C write---4
3

i2c

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions