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

nrf51822, custom board, crystal design

I've been developing some ble code for a custom board. Recently, I just finished creating a new smaller board. When I load my code onto it, I notice that I have trouble discovering my device's services and fail to connect most of the time.

After looking through the forum, I've come to question whether my crystals and capacitors have been chosen appropriately. So I have two questions:

  1. Assuming that my 16MHz crystal and capacitors are appropriately chosen, can I use either the internal RC oscillator or synthasized low frequency clock for ble communication?

  2. Have I chosen the right crystals and capacitors? For the 16MHz, I have chosen a Kyrocera crystal : 16MHz ±10ppm Crystal 8pF 200 Ohm Surrounding it I have two identical 12pF capacitors. For the low frequency crystal reference,I chose a Abracon crystal: 32.768kHz ±20ppm Crystal 9pF 90 kOhm. Surrounding it, I have two identical 12pF capcitors as well.

Seeing that my low frequency clock crystal has a crystal capacitance of 9pF, I expect that I have chosen my capacitors incorrectly for that frequency reference. However,even when I try using either the synthasized 16MHz clock source or the internal RC oscillator, I have poor ble connection.

Related