# Take advantage of external RTC to avoid 32.768KHz duplicity?

Hello. I decided to use an external solution for RTC. Sometimes the RTC chip offers an buffered 32.768KHz output. Can I use this output to supply the 32.768KHz to the nRF52832 and gain a litle power saving? Thanks in advance.

edit retag close delete

Sort by » oldest newest most voted

Hi,

In general, it’s no problem using an external 32.768 kHz clock source. But, if the external 32.768 kHz clock is only sometimes available, you would need to switch between the RC oscillator clock and the external clock.

Unfortunately, you cannot change the SoftDevice LF clock source on the fly, since this would disrupt the protocol timing. You would therefore have to disable the SoftDevice, and enable it again with the new clock source. If you are in an active connection, you will be disconnected, and therefore have to re-connect every time you change the clock source. In most applications this would not be acceptable. The potential power saving is also very small, with the RC oscillator only using about 0.6 µA.

more

Hello Sigurd. The external RTC chip would be powered by the same power supply than the nRF, its seems not a problem to lose oscillation except at startup than can be 1s. I think the power saving can be considerable because the external RTC only needs about 200nA. Can the long startup be a problem? For the connection, I guess input is pin2 P0.00/XL1. Is correct? Thank you.

( 2017-01-13 10:04:25 +0100 )editconvert to answer

P0.00/XL1 is correct. What do you mean by "its seems not a problem to lose oscillation except at startup than can be 1s ?" ? It takes 1s to start up the bufferd 32K clock ? Does the RTC chip provide a stable 32K clock after startup?

( 2017-01-13 15:13:45 +0100 )editconvert to answer

Sorry. I mean that the clock would be always available because the RTC chip would be powered by the same power supply than the nRF, but there is a time at the RTC start where the clock is not ready. From NXP datasheet: "...The oscillator is considered to be stopped during the time between power-on and stable crystal resonance. This time can be in the range of 200 ms to 2 s depending on crystal type, temperature, and supply voltage..."

( 2017-01-13 17:36:38 +0100 )editconvert to answer

In that case it should not be a problem. The SoftDevice will wait for the clock to startup. Remember to specify the correct clock accuracy, e.g. NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM.

( 2017-01-16 12:46:46 +0100 )editconvert to answer

Hello Sigurd. It's OK. I will check the overall power comsumption with this solution. Thankyou.

more

[hide preview]

## Recent blog posts

• ### nRF52840 long range demo

Posted 2017-02-14 12:46:03 by Ole Bauck
• ### Setup and Running the OpenMesh DFU on the nRF52 DK v2.0

Posted 2017-02-06 22:33:25 by martindavidb
• ### New NFC feature on nRF52 Series: Read/write capable Type 4 Tag NFC library in nRF5 SDK.

Posted 2017-02-02 10:31:31 by Pär H
• ### Simple Application-level Authentication

Posted 2017-01-30 12:34:01 by Daniel Veilleux
• ### WIZnet's BLE to TCP Gateway

Posted 2017-02-01 01:12:03 by Mason Lee

## Recent questions

• ### How Can I sniff GATT Service or Characteristic Attributes by PCA10031 (NRF51 Dongle)?

Posted 2017-02-25 08:33:42 by Daniel T. Lee
• ### After the host calls "sd_ble_gap_connect_cancel", the slave is not disconnected.

Posted 2017-02-25 05:56:16 by shuhe
• ### How to get device details of BLE devices seen by NRF52?

Posted 2017-02-25 04:37:49 by QDI
• ### GCC/Eclipse tutorial: make: The system cannot find the file specified

Posted 2017-02-25 01:53:35 by dkwill
• ### [Hardware] nRF52 - NFC antenna design

Posted 2017-02-24 23:31:41 by Konrad Traczyk