adafruit / Adafruit-PN532

Arduino library for SPI and I2C access to the PN532 RFID/Near Field Communication chip
Other
421 stars 265 forks source link

ESP32 I2C sharing was working fine #101

Closed FStefanni closed 1 year ago

FStefanni commented 2 years ago

Hi,

I was unaware of the requirement of unshared I2C on ESP32, so I wrongly reported an issue to another Adafruit library (here it is).

The strange fact is that with the Arduino-ESP32 board version 2.0.0 it was working fine! When upgrading to 2.0.2, it stops working.

So I am wondering what is going on... can someone enlighten me please?

Regards

caternuson commented 1 year ago

Are you seeing this issue running one of the examples from this library?

Just recently tested I2C on a Feather ESP32 V2 with BSP 2.0.6 and it worked fine.

Try updating ESP32 BSP to latest and verify things using one of the example from this library.

FStefanni commented 1 year ago

Hi,

sorry, but I have no way to test it now. Basically, it was more a try to understand why, let's say I was curious. But as said, in the end we have used two I2C buses.

For what it can matter, this is what I found just by using various bsp and libraries:

Except version 2.0.1 which was broken, I do not know if there were also issues on libraries side, which have been fixed meanwhile (so maybe also 2.0.2 was fine and the issue maybe was on the libraries). At the moment in production we use 2.0.5 with almost up to date libraries.

I am closing this issue since probably no more relevant for this library

Regards