Search found 4 matches

by udragger
Fri May 21, 2021 9:42 pm
Forum: ESP-IDF
Topic: MAX44009 two I2C reads without a stop in between
Replies: 6
Views: 4972

Re: MAX44009 two I2C reads without a stop in between

I did not, it looks like a bug/limitation in IDF or hardware. I am using two separate reads as a workaround for the time being.
by udragger
Mon Feb 08, 2021 11:01 am
Forum: ESP-IDF
Topic: MAX44009 two I2C reads without a stop in between
Replies: 6
Views: 4972

Re: MAX44009 two I2C reads without a stop in between

This was the first thing that I tried. It does not work and times out similarly to using two command links. Logic analyzer shows that it gets stuck after reading the first byte.
by udragger
Sun Feb 07, 2021 10:01 am
Forum: ESP-IDF
Topic: MAX44009 two I2C reads without a stop in between
Replies: 6
Views: 4972

Re: MAX44009 two I2C reads without a stop in between

Thank you, but a multi byte read from a single register is not what I need. I need two single byte reads from two registers without a stop signal in between.
MAX44009 IC will not autoincrement the register if I read several bytes in a row.
by udragger
Sat Feb 06, 2021 4:45 pm
Forum: ESP-IDF
Topic: MAX44009 two I2C reads without a stop in between
Replies: 6
Views: 4972

MAX44009 two I2C reads without a stop in between

Hi all, I have been trying to use MAX44009 light sensor, it stores the illumination data in two registers and the datasheet specifies that they need to be read one after another without generating a stop signal in between the two reads. Otherwise the two values may be out of sync. I have not figured...