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

NRF52 Moving from PCA10040 to my hardware

Hi !

I just got my new boards with the NRF52 CPU. When i burn the firmware that worked on the PCA10040 evk it works but on my hardware it resets immidiatly.

  1. On my hardware there are no Crystals/XTAL etc'...I only use the internal RC for the CPU and BT.
  2. I ported one of the "central" demo from SDK11 and did some modification to it for my purpse. I also use the same "softdevice v2" in the evk and my board.
  3. When putting in comment the "scan_start();" command from the "main" function, i get no resets and everthing starts to work fine... (except there is no BT)....

Any idea how to debug this ?! What can be the problem ?!

B.r. Yuval

Parents
  • Hi Yuval,

    When you mentioned you don't have crystal/XTAL, you meant you don't even have the 32MHz crystal or it's the 32kHz crystal that you don't have ?

    Radio activity requires the 32MHz crystal, you can't run on the HFCLK RC.

    If it's only the 32kHz crystal you don't have, you only need to modify the code to use 32kHz RC. Modify NRF_CLOCK_LFCLKSRC to use .source = NRF_CLOCK_LF_SRC_RC

Reply
  • Hi Yuval,

    When you mentioned you don't have crystal/XTAL, you meant you don't even have the 32MHz crystal or it's the 32kHz crystal that you don't have ?

    Radio activity requires the 32MHz crystal, you can't run on the HFCLK RC.

    If it's only the 32kHz crystal you don't have, you only need to modify the code to use 32kHz RC. Modify NRF_CLOCK_LFCLKSRC to use .source = NRF_CLOCK_LF_SRC_RC

Children
No Data
Related