This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

My 32Mhz crystal isn't working on Nrf52840?

Hello, I connected, according to official layout design, a 32 Mhz crystal to my nrf52840. Using a 60 Mhz oscilliscope, I decided that the crystal isn't working (no sine wave form no matter what) and I think it has something to do with the fact that I haven't properly configured relevant registers to enable it.

So... what are the list of registers that I should mind and configure to get the xtal to work?

The nrf52840 OPS v0.5, as usual, gives very, very brief and general information therefore not so helpful.

  • Are you using a SoftDevice? Have you tried any of the examples and checked if the radio is working? Also please state what oscilloscope you're using for your measurements.

  • You are not able to see sine waveform if sampling frequency is not greater than 2 x measured frequency. Please read about Nyquist rate.

    Your sampling frequency = 60MHz - best case if only one osciloscope channel is active.

    Measured frequency = 32MHz.

  • You might try an active high-z probe as the Normal probes typically load the drive circuitry down.

  • Are you using a SoftDevice?

    Yes I am. And I can't seem to remember where I have configured the SD to my clock frequency. I don;t think it's necessarily though, because I'm using the by default required 32Mhz xtal?

    Have you tried any of the examples and checked if the radio is working?

    No. I haven't, I want to see if I can get things right on the first go.

    please state what oscilloscope you're using for your measurements.

    tektronix tds1002, 60Mhz dual channel. 60Mhz may be a problem as the sampling frequency is too low.

    Anyway, can you tell me what are the registers that I have to properly configure to get the chip running properlly?

  • Still, what are the registers I have to mind if I want to get everything up and running properly?

Related