adafruit / Adafruit_BusIO

Arduino library for I2C & SPI abstractions
MIT License
285 stars 259 forks source link

Pico + PN532 + BusIo reading NTAGs #123

Open taunoe opened 10 months ago

taunoe commented 10 months ago

I am using Raspberry Pi Pico and Adafruit PN532 library and I have problems reading NTAGs (213) with SPI. It only reads UID but not other content. And after some experiments, I found out that changing the BusIO: Adafruit_SPIDevice.cpp file uint8_t bitdelay_us = (10000000 / _freq) / 2; // was 1000000 it will start to work. Tested it with Arduino IDE 2.x and PlatformIO