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

Trouble with NRFX NFCT driver

Hello,

I have noticed, that https://github.com/NordicSemiconductor/nrfx was updated with a nfct driver. I am trying to extended the nrfx port on micropython (see https://github.com/micropython/micropython/tree/master/ports/nrf) with a simple url tag. I am using the pca10040.

So far i worked it out that i can start the nfc and sense a field. This event is passed to a callback handler at application level. Unfortunately i can't send or receive a message over the nfct driver. I am using the function nrfx_nfct_init() to init the nfct. Afterwards i start the nfc with nrfx_nfct_enable(). Until now i can detect a field, if i apply an external field with a smartphone to the pca10040. 

Now my question: Is there a code example on how to implement a simple url tag? Or a flow chart how i have to use the nfct driver? I now the ndef format but for my it is unclear how to use the driver to send an ndef message over nfc?

Best regards

Parents Reply Children
  • @Jared:

    The NFC URL example does not provide the necessary information I'm afraid.

    What we need to have is a pure nrfx based example without the "t2t" library that used to be linked as binary blob in the SDK.

    There was a  similar issue raised on the github page: https://github.com/NordicSemiconductor/nrfx/issues/46

    To summarize:

    What is missing is a small example on the nrfx github page that explains how to use the NFCT driver (as a start, to use it as a simple URI Tag).

    Without that information, the library's NFCT driver is basically useless to the average user (or at best you have to  guess how the different functions need to be called - again this logic is hidden in the binary blob of the SDK).

    We can also raise the issue there if that is more appropiate

  • Hi, Martin.

    Sorry for the much delayed response due to the holidays, but i need to discuss this with some of my colleagues. I'll get back to you by next week.

    Best regards

    Jared 

  • Hi Martin,

    Now my question: Is there a code example on how to implement a simple url tag? Or a flow chart how i have to use the nfct driver? I now the ndef format but for my it is unclear how to use the driver to send an ndef message over nfc?

      

    fischerfm said:
    What we need to have is a pure nrfx based example without the "t2t" library that used to be linked as binary blob in the SDK

     

    Unfortunately, we don't provide any example like this. 

    Jared 

Related