Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants