Hi,
I add NFC to my project with freertos. The initialization of nfc is ok. After running few seconds ,it hang. If I comment the usr_nfc_init() that in the main() function, the project runs good.
I don't know why.
Can the NFC work with freertos?
My SDK is nRF5 SDK 15.3.0. And my ic is nRF52840.
void usr_nfc_init(void) {
ret_code_t err_code;
/* Set up FIFOs for data that are transfered over NFC */
err_code = nfc_fifos_init();
APP_ERROR_CHECK(err_code);
/* Set up NFC */
err_code = nfc_t4t_setup(nfc_callback, NULL);
APP_ERROR_CHECK(err_code);
/* Start sensing NFC field */
err_code = nfc_t4t_emulation_start();
APP_ERROR_CHECK(err_code);
}