Skip to content

Conversation

mikeysklar
Copy link
Contributor

@mikeysklar mikeysklar commented Feb 17, 2025

Existing code works over I2C. SPI needs a 1ms slowdown as well.

PR# 125 addressed this, but had a commit fail that I am unable to override.

Forum issue

Test on Feather M0 Basic and Adafruit PN532 breakout with NTAG213 Bracelet. Existing code would detect tag, but fail to read pages:

Hello!
Found chip PN532
Firmware ver. 1.6
Waiting for an ISO14443A Card ...
Found an ISO14443A card
  UID Length: 7 bytes
  UID Value: 0x04 0x0D 0xE1 0xAA 0xA2 0x1C 0x91

Seems to be an NTAG2xx tag (7 byte UID)
PAGE 00: Unable to read the requested page!
PAGE 01: Unable to read the requested page!
PAGE 02: Unable to read the requested page!
PAGE 03: Unable to read the requested page!
PAGE 04: Unable to read the requested page!
PAGE 05: Unable to read the requested page!
PAGE 06: Unable to read the requested page!
PAGE 07: Unable to read the requested page!
PAGE 08: Unable to read the requested page!
PAGE 09: Unable to read the requested page!
PAGE 10: Unable to read the requested page!
[...]

Behavior change after 1ms delay:

Hello!
Found chip PN532
Firmware ver. 1.6
Waiting for an ISO14443A Card ...
Found an ISO14443A card
  UID Length: 7 bytes
  UID Value: 0x04 0x0D 0xE1 0xAA 0xA2 0x1C 0x91

Seems to be an NTAG2xx tag (7 byte UID)
PAGE 00: 04 0D E1 60  ..�`
PAGE 01: AA A2 1C 91  ��.�
PAGE 02: 85 48 00 00  �H..
PAGE 03: E1 10 12 00  �...
PAGE 04: 01 03 A0 0C  ..�.
PAGE 05: 34 03 00 FE  4..�
PAGE 06: 00 00 00 00  ....
PAGE 07: 00 00 00 00  ....
PAGE 08: 00 00 00 00  ....
PAGE 09: 00 00 00 00  ....
PAGE 10: 00 00 00 00  ....
PAGE 11: 00 00 00 00  ....
PAGE 12: 00 00 00 00  ....
PAGE 13: 00 00 00 00  ....
PAGE 14: 00 00 00 00  ....
PAGE 15: 00 00 00 00  ....
PAGE 16: 00 00 00 00  ....
PAGE 17: 00 00 00 00  ....
PAGE 18: 00 00 00 00  ....
PAGE 19: 00 00 00 00  ....
PAGE 20: 00 00 00 00  ....
PAGE 21: 00 00 00 00  ....
PAGE 22: 00 00 00 00  ....
PAGE 23: 00 00 00 00  ....
PAGE 24: 00 00 00 00  ....
PAGE 25: 00 00 00 00  ....
PAGE 26: 00 00 00 00  ....
PAGE 27: 00 00 00 00  ....
PAGE 28: 00 00 00 00  ....
PAGE 29: 00 00 00 00  ....
PAGE 30: 00 00 00 00  ....
PAGE 31: 00 00 00 00  ....
PAGE 32: 00 00 00 00  ....
PAGE 33: 00 00 00 00  ....
PAGE 34: 00 00 00 00  ....
PAGE 35: 00 00 00 00  ....
PAGE 36: 00 00 00 00  ....
PAGE 37: 00 00 00 00  ....
PAGE 38: 00 00 00 00  ....
PAGE 39: 00 00 00 00  ....
PAGE 40: 00 00 00 BD  ...�
PAGE 41: 04 00 00 FF  ...�

Existing code works over I2C. SPI needs a 1ms slowdown as well.

PR# 125 addressed this, but had a commit fail.
@mikeysklar
Copy link
Contributor Author

@ladyada

@ladyada ladyada merged commit f68de75 into adafruit:master Feb 18, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants