Skip to content

Problems with ESP32-S2 #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
berodimas opened this issue Feb 25, 2021 · 1 comment
Closed

Problems with ESP32-S2 #24

berodimas opened this issue Feb 25, 2021 · 1 comment

Comments

@berodimas
Copy link

Hello everyone,

Is there any possible way to use this sensor with ESP32-S2? I've trying any kind of configuration but still got this output:

MLX90640 IR Array Example MLX90640 online! Parameter extraction failed Pixel 0: nanC Pixel 1: nanC Pixel 2: nanC Pixel 3: nanC Pixel 4: nanC Pixel 5: nanC Pixel 6: nanC Pixel 7: nanC Pixel 8: nanC Pixel 9: nanC Pixel 0: nanC Pixel 1: nanC

also if I change the wire clock to 100khz, I got the GetFrame Error: -8 on serial monitor.

@nseidle
Copy link
Member

nseidle commented Oct 11, 2021

ESP32 S2 core is not yet respecting repeated start.

Below is good transaction with ESP32:
image

Below is bad trasnaction with ESP32-S2:

image

The sensor is reporting an extra 0x0009 at the beginning of the read most likely because the S2 is releasing the bus (with a stop command) right before it initiates a read (this is bad).

Known issue that is currently slated for v2.0.1 of ESP32 Arduino core. If you can't wait, pull the most recent ESP32 Arduino core. There are fixes in place that resolve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants