0

enter image description hereenter image description hereenter image description hereenter image description herenfc-scan-device uses libnfc 1.7.1

1 NFC device found:
error libnfc.bus.i2c error : worte only -1bytes (10 expected)
error libnfc.driver.pn532_i2c Unable to transmit data(TX)
pn53x check_communication: Input / Output error
error libnfc.bus.i2c error : worte only -1bytes (10 expected)
error libnfc.driver.pn532_i2c Unable to transmit data(TX)
nfc_open failed for pn532_i2c: /dev/i2c-1

I just follow this document https://www.raspberrypi.org/forums/viewtopic.php?t=78966

5v -> 2 , gnd -> 6, SCL->5, SDL->3

I don't know why It doesn't working please help me ㅠ.ㅠ

  • @joan I already have done it, but... – han.yeol May 6 '19 at 7:52
  • @joan Wait a minute plz I add the photo right now – han.yeol May 6 '19 at 8:50
  • @joan I have changed a wiring setting.. plz give me advice. – han.yeol May 6 '19 at 8:52
  • @joan How can i set PN532 SET0-->L SET1-->H – han.yeol May 6 '19 at 8:57
  • @joan can you check it please – han.yeol May 6 '19 at 9:06
0

Question

How to setup PN532 NFC for I2C?

Answer

It appears that the OP does not have a manual and therefore does not know how to set up the PN532 module:

So I googled the user guide and put it in the reference below. According to the user guide, the SE0, SE1 switches should be set to H, L. But the OP seems to have set them wrongly.

References

pn532 module 1

pn532 module 2

pn532 module3

| improve this answer | |
  • thanks for your sevice, The reason why it doesn't work is setting SET0,SET1 – han.yeol May 6 '19 at 23:59
  • You are welcome. Have a nice project. – tlfong01 May 7 '19 at 0:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.