NFC fixes

nRF5 SDK v12.1.0

nRF52 only: Fixes for HW anomaly. More...

Macros

#define NFC_NEED_MCU_RUN_STATE ()   (0)

Detailed Description

nRF52 only: Fixes for HW anomaly.

If you are using PCA10036 (part of nRF52 Preview Development Kit), you must define the macro HAL_NFC_ENGINEERING_A_FTPAN_WORKAROUND to apply workarounds for the following anomalies:

  • 17. NFCT: The EVENTS_FIELDLOST is not generated
  • 24. NFCT: The FIELDPRESENT register read is not reliable
  • 27. NFCT: Triggering NFCT ACTIVATE task also activates the Rx easyDMA
  • 45. NFCT: EasyDMA does not function properly while System ON CPU IDLE state
  • 57. NFCT: NFC Modulation amplitude

If you are using PCA10040 (part of nRF52 Development Kit), you must define the macro HAL_NFC_ENGINEERING_BC_FTPAN_WORKAROUND to apply workarounds for the following anomalies:

  • 79. NFCT: A false EVENTS_FIELDDETECTED event occurs after the field is lost
  • NFCT does not release HFCLK when switching from ACTVATED to SENSE mode.

The current code contains a patch for anomaly 25 (NFCT: Reset value of SENSRES register is incorrect), so that it now works on Windows Phone.