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

Can you use nfc T4T and T2T libraries in same application/build?

Can you use/link both nfc T4T and T2T libraries and wrapper/driver source in same application/build?

I don't mean emulating both modes at the same time.

Thanks.

Parents
  • Hi again

    When the NFC_tXt_setup() functions return error code 8 (INVALID_STATE) it means that the emulation already is in running state. This is related to a bug discovered in SDK v17, described here, where the nfc_t4t_done() call actually doesn't uninit the NFCT driver, and you need to call the nrfx_nfct_uninit() function after nfc_t4t_done() in order to be able to reinitialize the NFC peripheral.

    Best regards,

    Simon

Reply
  • Hi again

    When the NFC_tXt_setup() functions return error code 8 (INVALID_STATE) it means that the emulation already is in running state. This is related to a bug discovered in SDK v17, described here, where the nfc_t4t_done() call actually doesn't uninit the NFCT driver, and you need to call the nrfx_nfct_uninit() function after nfc_t4t_done() in order to be able to reinitialize the NFC peripheral.

    Best regards,

    Simon

Children
No Data
Related