Fixes for hardware-related anomalies.
More...
Fixes for hardware-related anomalies.
If you are using the nRF52832 chip, the workarounds for the following anomalies are applied:
- 79. NFCT: A false EVENTS_FIELDDETECTED event occurs after the field is lost.
- 116. NFCT does not release HFCLK when switching from ACTIVATED to SENSE mode. To implement the first workaround, an instance of NRF_TIMER is used. After the NFC field is detected, the timing module periodically polls its state to determine when the field is turned off. To implement the second workaround, power reset is used to release the clock acquired by NFCT after the field is turned off. Note that the NFCT register configuration is restored to defaults.
If you are using the nRF52833, nRF52840 or nRF5340 chips, the workarounds for the following anomalies are applied:
- 190. NFCT: Event FIELDDETECTED can be generated too early. To implement this workaround, an instance of NRF_TIMER is used. After the NFC field is detected, the timing module measures the necessary waiting period after which NFCT can be activated. This debouncing technique is used to filter possible field instabilities.
The current code contains a patch for the anomaly 25 (NFCT: Reset value of SENSRES register is incorrect), so that the module now works on Windows Phone.