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

Need extra settings when using SoftDevice, 32MHz, and nRF51822?

Hi, I'm planning to made a custom PCB using nRF51822-QFAA or QFAC revision 3.

My developing environments are J-Link, IAR EWARM 7.1, SoftDevice 7.1, and SDK 7.2.

I kept used 16MHz external oscillator at my custom PCB.

I'm planning to change the 16MHz oscillator chip it to a 32MHz one.

The question is simple. Do I need a change for my code while substituting?

-Best Regards, Mango

Parents
  • You need to tell the CLOCK peripheral what crystal you are using via the XTALFREQ register. You can override default value by setting the UICR->XTALFREQ register to what you need.

Reply
  • You need to tell the CLOCK peripheral what crystal you are using via the XTALFREQ register. You can override default value by setting the UICR->XTALFREQ register to what you need.

Children
No Data