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

NFC not working on custom board

Hello Everyone, 

I am using nRF52832 and want to include BLE-NFC pair feature in the application that i am trying to develop. I am using SDK v14.2, Segger embedded studio as compiler and Softdevice version v5.0 on a windows platform.

Setup: Initially, i tried example ble_app_hrs_nfc_pairing and included ble nus service to it on nrf52 DK (PCA10040, v1.2.1). It worked perfectly well. So now, having tested the functionality i tried porting the same on to my custom board to evaluate the ble-nfc pairing feature.

Problem: There is no error during compilation. But when i try to bring a smartphone near to the board to test the pairing, NFC is not at all working. While debugging, i see that the NFC_IRQHandler is not called, so seems like NFC field is not detected so as to start sensing and pairing. 

I checked the peak to peak differential threshold voltage to see if the voltage level is too low for NFC to sense the field, but that is also fine (around 2.4 V, once i bring in the smartphone near to the NFC antenna).

Could anyone of you please let me know what could be the reasons that NFC is not able to work? Or any configurations/ macros i might have missed to support the feature? 

Any help is appreciated. 

Thank you!  

Parents Reply
  • Hi

    Attached, you will find 2 images from the oscilloscope (1 for the DK and the other for custom board). Yellow line indicates the differential voltage between NFC pins. DKCustom

    Unfortunately, we were not able to find the center frequency since we do not have of either of the instruments required to carry out the tuning methods. Disappointed

    But, after debugging much, i saw that NFCPINS register had GPIO enabled. (I had configured NFC pins to GPIO before and i thought that by just removing the macro CONFIG_NFCT_PINS_AS_GPIOS would make them NFC pins again. I was wrong to think that way. 

    Configured the pins back to NFC antenna pins by erasing uicr register and doing a system reset. Now the NFC works fine. Smiley

    Thanks for the help!! 

Children
Related