Skip to content

Commit 477d508

Browse files
MarGasiorekeivindj-nordic
authored andcommitted
doc: improve NFCT timer configuration in integration_notes.rst
Clarify how the NFCT driver timer is configured and how to override it. Signed-off-by: Marcin Gasiorek <marcin.gasiorek@nordicsemi.no>
1 parent 64f1d5c commit 477d508

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

doc/nrf-bm/libraries/nfc/integration_notes.rst

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,26 @@ Integration requirements
3434
When integrating the NFC libraries in your application, be aware of the following:
3535

3636
* The libraries require the NFCT driver from the `nrfx`_ repository.
37-
* The NFCT driver uses one Timer peripheral.
38-
To configure the timer instance, change ``NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID`` in the :file:`nrfx_config.h` file.
37+
See :ref:`nrfx driver <driver_nrfx>` for more information.
38+
39+
The NFCT driver pre-allocates one Timer peripheral that it needs to work correctly.
40+
On nRF54L Series devices, this timer is set to TIMER24.
41+
It is not recommended to change the timer.
42+
To override the default when necessary, set the ``NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID`` macro in the :file:`nrfx_config.h` file.
43+
The following is an example configuration for :file:`nrfx_config.h` (valid for all nRF54L Series devices):
44+
45+
.. code-block:: c
46+
47+
#ifndef NRFX_CONFIG_H__
48+
#define NRFX_CONFIG_H__
49+
50+
/* Set the Timer TIMER22 instance for the NFCT driver. */
51+
#define NRFX_NFCT_CONFIG_TIMER_INSTANCE_ID 22
52+
53+
/* Use defaults for undefined symbols. */
54+
#include "nrfx_templates_config.h"
55+
#endif // NRFX_CONFIG_H__
56+
3957
* Each library must be the only user of the NFCT peripheral and of the chosen TIMER instance.
4058
* The libraries use an NFC Platform software module that handles clock control and interrupt routing.
4159
See the :ref:`lib_nfc_platform` section for details.

0 commit comments

Comments
 (0)