nRF5 SDK v15.0.0
Functions
NFC fixes and workarounds

Fixes for hardware-related anomalies. More...

Functions

static bool type_52840_check (void)
 Internal auxiliary function to check if the program is running on NRF52840 chip. More...
 
static bool type_52840_sample_check (void)
 Internal auxiliary function to check if the program is running on first sample of NRF52840 chip. More...
 
static bool type_52840_final_check (void)
 Internal auxiliary function to check if the program is running on final version of NRF52840 chip. More...
 

Detailed Description

Fixes for hardware-related anomalies.

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

If you are using PCA10056 Engineering A (part of nRF52840 Development Kit), you must define the macro HAL_NFC_NRF52840_ENGINEERING_ABC_WORKAROUND in order to apply workarounds for the following anomalies:

If you are using PCA10056 Engineering B or C (part of nRF52840 Development Kit), you must define the macro HAL_NFC_NRF52840_ENGINEERING_ABC_WORKAROUND in order to apply workarounds for the following anomalies:

The use of implemented workarounds for PCA10056 are determined at the runtime and depends on the chip variant.

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.

Function Documentation

static bool type_52840_check ( void  )
inlinestatic

Internal auxiliary function to check if the program is running on NRF52840 chip.

Return values
trueIt is NRF52480 chip
falseIt is other chip
static bool type_52840_final_check ( void  )
inlinestatic

Internal auxiliary function to check if the program is running on final version of NRF52840 chip.

Return values
trueIt is NRF52480 chip and it is final version
falseIt is other chip
static bool type_52840_sample_check ( void  )
inlinestatic

Internal auxiliary function to check if the program is running on first sample of NRF52840 chip.

Return values
trueIt is NRF52480 chip and it is first sample version
falseIt is other chip

Documentation feedback | Developer Zone | Subscribe | Updated