This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52832 - NFC stops working when SoftDevice is enabled

Hi,

I have a problem making NFC (with a simple text record) work when I enable SoftDevice: I do not receive any NFC event and NFC communication does not work.

I have a working project based on S332 (v5) using both BLE and ANT. The project does not have any know problems. I've added some trivial code for enabling NFC as per NFC text example, and it works only if I disable all SoftDevice related stuff. I've started removing all SD code and re-adding it line by line, and I've found the lines causing the problem are:

ret_code_t err_code = nrf_sdh_enable_request();
APP_ERROR_CHECK(err_code);

Just commenting the lines above and NFC works (obviously BLE/AND do not). I've also tried double checking and copying sdk_config.h but found nothing obvious. I've also tried adding my NFC code to BLE HRS examples and it works, so it must be something related to my project settings. I must be missing something but cant' find what. Any help would be appreciated.

Related