Dear All,
We need to develop a custom low-level driver for NFC communication using the Hardware Abstraction Layer (HAL) library exclusively. We are currently unable to use the recommended NFC library because we only have access to its binary distribution, which prevents us from implementing a necessary customization (e.g., configuring the WQTX repetition count beyond 5).
Our initial setup, utilizing only the NFC HAL library (<hal/nrf_nfct.h>), is functional regarding field detection (present/lost) and anti-collision.
The primary issue occurs immediately upon **frame reception**. The **reported EasyDMA data length is consistently 8190 bits** (a known corruption value). This length is clearly incorrect and indicates a fundamental configuration or synchronization issue at the driver level. Crucially, data reception works correctly when using the recommended, full-stack NFC library, which confirms the integrity of the underlying hardware platform (nRF5340). Moreover, no consistent data are received.
We suspect the solution involves an **undocumented hardware/software detail** or a **specific synchronization sequence** required to properly clean or restart the EasyDMA register or any other issue related to NFCT peripheral.
We are therefore requesting a **sample code implementation, utilizing the NFC HAL library exclusively**, that successfully **receives and correctly reports the data length of the first frame (RATS/ISO-DEP block) after the anti-collision phase**.
Best regards,
Alain
