Search found 2 matches

by sarah.frei
Wed Jul 31, 2019 10:56 am
Forum: Hardware
Topic: i2c read three segments error
Replies: 5
Views: 6719

Re: i2c read three segments error


Hi, sarah.frei

Each hardware WRITE or READ command should be followed by an EDN command. So the reading code should be like this

RSTART
WRITE
END
READ
END
READ
END
READ
END (This END command can be omitted)
STOP


Hello,
Thanks for reply,

indeed an END command is sent after each ...
by sarah.frei
Mon Jul 29, 2019 4:10 pm
Forum: Hardware
Topic: i2c read three segments error
Replies: 5
Views: 6719

i2c read three segments error

Hey,

I'm working on an ESP32-WROOM-32D, in which I have a bootloader.
in my bootloader, I do not use OS and I use an i2c.

the write on my i2c is not a problem, but I can not read in three segments.
the command for segments read are the following:

Segment0
RSTART WRITE READ END
Segment1 ...

Go to advanced search