← index #5095PR #5104
Likely Duplicate · high · value 1.507
QUERY · ISSUE

[NRF] Are there any plans to support the NFC functionality of the nRF52..

openby rolandvsopened 2019-09-11updated 2019-09-16
port-nrf

The nRF52 series have an embedded NFC slave that can function as a pairing method, activation from sleep, and even as an alternative way to configure a device.
@glennrub Are there any plans to expose this part of the chip?

CANDIDATE · PULL REQUEST

nrf/nfc: Add basic support for NFC tag 2.

closedby glennrubopened 2019-09-12updated 2025-10-16
port-nrf

This patch adds a new submodule nrfxlib which contains a static
library for NFC on nRF52 devices. Currently, only Tag2 library has
been targeted.

The patch also introduce a basic NFC machine module which expose API for
starting and stopping the NFC library/peripheral and an API to
to set raw payload.

Example:

from machine import NFC
n = NFC()
payload = bytearray([0x03, 0x0F, 0xD1, 0x01, 0x0B, 0x55, 0x02]
payload += [ord(i) for i in "google.com"])
n.payload_raw_set(payload)
n.start()
...
n.stop()

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied