This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Peer to peer nfc possible? Field strength available?

We're building small robots/toys that work with each other.

Would it be possible to use the nfct on two devices with nRF52840 to communicate between each other?

Also is there any way to get information about field strength?

Of course this is not standard usage of nfc but if possible it would be nice to have some peer to peer detection at least, then near field ranging even better, then full communications best.

Any ideas appreciated, thanks!

Parents Reply Children
  • Well NFC (as well as BT classic and LE) are always peer to peer communication protocols. So if you have on the other side reader (aka ISO14443 PCD role) which can drive the 13.56MHz field then you will have P2P communication. Just the roles will stay, nRF52 (in both 832 and 840 variant) can only emulate card (PICC) never a reader side. If you really insist on what NFC forum calls "peer-to-peer" mode where both sides are changing the roles periodically then no, you cannot use Nordic chips as they are designed today.

    The biggest question would be who the hell would like to use NFC P2P protocol (which is basically dead) in 2019?! The biggest proponent was Google with Android NFC API in very early stage but they discovered pretty soon that reader and card emulation modes are the way forward. Why you simply don't use this architecture (so you would do bi-directional data exchange by something like push/pull APDU protocol on application layer)?

    As you say if you have other MCU then nRF52 on the "other" side then it can be NFC controller (chip with front-end) from NXP or ST or anyone else and it will work. Basically all examples in low-power deeply embedded microcontroller space are based on this reader/card emulation topology, just look on STM32 dev kits (e.g. nucleo boards) or Arduino compatible NFC boards...

Related