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

Clock inaccuracy of nRF52832 custom board

When using uart example on my curstom board, from /examples/peripheral/uart ,at baudrate 9600, bits are read with a little offset - so that starting from 4th bit, it is mistaken with the fallowing bit.

When measuring with logic analyzer, lenght of each bit is 92us, but it should be 104us at this baudrate.

The function nrf_delay_ms(100) gives a delay of 88.67ms.

I have solderd both 32MHz and 32.768KHz crystals on board, but for this example i am pretty sure i am using internal clock.

Any suggestions? Thanks

Parents Reply
  • No need to set the frequency, as there is only one crystal supported (32MHz).

    Does the radio work? Are you able to transmit and receive data

    Radio doesn't work. I tried beacon example, and it is not advertising.

    I have connected 32MHz crystal like this:

    The crystal is "LFXTAL055595" with 10pF load capacitance. I added 12 pF load capacitors. Maybe i fried the crystal while soldering. Will try resoldering another one.

Children
No Data
Related