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

Custom board not seen by IOS device but it is seen by NRF-Connect Desktop

Hi There,

I've been developing a product using the NRF52DK.  I had some custom PCB's made after I had my circuit designed, and I programmed them with the NRF52DK.  Now my boards and the NRF52832 on the DK are running the exact same firmware.

With the NRF52DK, I can connect to my service on NRF Connect for IOS and Desktop (with an NRF51 dongle). 

With my boards, I can't see them with IOS (using NRF Connect or LightBlue) but I can see them using NRF Connect Desktop.  

When I scan with NRF Connect Desktop, my boards' RSSI indicates a fairly strong signal (~ -55dBm) and I can connect and view/control all the characteristics fine.  

I'm going to continue poking around to try to understand what's different but I'm quite stumped as to why IOS will only see the NRF52832 on the DK, but NRF Connect Desktop will see either the DK or the custom board.  I've tried an iPhone and an iPad and got the same result.

Any suggestions would be greatly appreciated!

Thanks,

Roger

  • Just noticed that you have defined:

    #define CLOCK_CONFIG_LF_SRC NRF_LF_SRC_RC

    You should not use this if you have a LFXTAL. Try to set it back to NRF_CLOCK_LF_SRC_XTAL, since you have the XTAL. If not, it will use the RC oscillator, and it will depend on you RC oscillator settings how the softdevice behaves. 

     

    Also, if you find the device on one phone, and not the other, it sounds like some bonding issues. Try to delete bonding data FROM BOTH SIDES. That is, erase the entire nrf, and re program it. Also (!) you have to delete the bonding data from the phone, not only turn bluetooth off and back on. Select the device from the list in the bluetooth settings (when bluetooth is turned on), press the (i) next to the name, and click "Forget This Device". Then try to pair again.

     

    So if it doesn't work after you have deleted bonding information and set the correct XTAL settings, it is probably some RC problems with the PCB, but try these fixes first.

     

    Best regards,

    Edvin

  • Thank you for the suggestion, but I am fairly sure it's not an addressing issue since I can connect just fine using the same firmware on the PCA10040 DK.   

  • Thank you for the advice Edvin.  I only changed the LF OSC settings to test your suggestion, they are set back to the default of using the XTAL.  

    I have tried erasing/reprogramming the NRF from nRFgo Studio, and have also tried a variety of TX power settings and advertising intervals but my problem remains.

    I think that your suggestion of an RC problem is likely; I just find it very strange that I can connect with the Desktop app and not the IOS app (maybe the NRF51Dongle just has a better antenna?)

    My antenna design could use some cleaning up on the next board spin.  I have a ground plane on all of layer3 (layer2 is VCC), and I also ran ground planes around the top and bottom layers, thinking that it would be best to have the largest possible ground mass.

    I will continue to develop my firmware and test with the Desktop app, and I will be re-spinning my boards soon.  If you have any suggestions based on the attached picture from my current board's schematic (the antenna is from Nordic's Eagle Library) I would greatly appreciate it.  I know that I need some restriction around the output inductor, and I should probably just remove the ground plane on the top layer

    Thanks,

    Roger

  • Have you deleted the bonding info from the iPhone?

    BR,

    Edvin

Related