Skip to content
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

Can I use I2C interface? #9

Open
diegostf opened this issue Oct 12, 2023 · 1 comment
Open

Can I use I2C interface? #9

diegostf opened this issue Oct 12, 2023 · 1 comment

Comments

@diegostf
Copy link

diegostf commented Oct 12, 2023

Hi,
I'm using AS3935 with ESP32-S2, but I get a lot of wrong information from the registers when using 3,3V. I read some reports of problems with the I2C interface and saw many projects using SPI.
Did you have problems using I2C and that's why you chose SPI?

@shred
Copy link
Owner

shred commented Oct 13, 2023

Hi diegostf!

No, I started with SPI right away, mainly because all examples I could find were using SPI. It also turned out to be very stable, so I saw no reason to switch to I²C.

I²C is also much slower than SPI, and requires an additional external pull-up resistor on the SCL line.

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