Just like a lot of people I'm using a RPi as a NTP server. There is a nice thread about it here: Switch out the X1 Oscillator on a RPI 2/3

User @colintd had a brilliant answer about switching the stock oscillator with a TCXO and he also mentions: "As a 3V3 part it needed AC coupling via a 1nF capacitor, and the DC level setting with 240K & 100K resitors"

I was wondering if he (or anyone) can explain how this capacitor and resistors are connected? Perhaps a small circuit diagram?

Many thanks!

PS. As a newbie here I wasn't able to reply to the original thread, hence a new one.


1 Answer 1


I tried to ping @colintd via a comment for you. I suppose they suggest making a DC voltage divider with R1=100K and R2=240K, and feeding it the AC signal from the TCXO via the 1nF capacitor.


simulate this circuit – Schematic created using CircuitLab

  • Thanks for that. If I understand it right, the TCXO output signal is at 3.3V which is too high for the Pi. Using C1 and the voltage divider brings that signal level down to about 2.3V (according to my own quick calculations) which is an acceptable level for the Pi? Oct 30, 2020 at 14:41
  • @JohnnyBravo TCXO output is a mere 0.8V peak to peak, so the signal should be shifted to the right range for the Pi. Adding a DC 2.3V component makes it oscillate between 1.9V and 2.7V, which is apparently what the Pi's oscillator pin expects. Oct 30, 2020 at 15:07
  • I went through the datasheet again for the TCXO that colintd had linked to and now I see the 0.8V peak peak and the voltage divider also makes sense now. Although I expect the pi to want a 3.3V square wave signal, it seems that 1.9V to 2.7V clipped sine is good enough. I might actually try an OCXO like this one iqdfrequencyproducts.com/products/details/iqov-162-2-02.pdf The output is a 3.3V HCMOS signal, so shouldn't need the capacitor and voltage divider if my thinking is correct. Oct 30, 2020 at 18:41
  • @JohnnyBravo Yes, you will likely not need that schematic with the oscillator you mention. Oct 31, 2020 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.