Author Topic: 32kHz Crystal oscillator with 74HC4060 - doesn't oscillate! (Now does!)  (Read 4766 times)

0 Members and 1 Guest are viewing this topic.

Offline YansiTopic starter

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Hello!

as I have mentioned in another thread about (still and again just other) FPGA minimalistic board, I like also to design small PLD kits. One of my boards includes Altera's EPM3064, a small 44pin CPLD. As a clock source, I decided to use a 32.768kHz crystal to provide both 2048Hz and 2Hz clocks, by using a "classic 4060" chip. But it doesn't work, I don't know why. That's the only thing preventing me from publishing the design for anyone interested.

Can you please help me to solve the mystery, why it doesn't oscillate?

As the whole board is powered from 3V3 supply, I have decided to use 74HC4060 version of the IC. The schematic diagram is below.

I have tried 7pF and 12pF Cload crystals, tried changing the loading caps to whatever crazy values up some hundred puff, tried changing the feedback resistor from 100k up to 1M. (The series resistor R41 is now shorted) Nothing helped. And yea, the IC is not blown. Sticking a finger on its input makes it count.

Do you have any ideas, what I have done wrong or how to design it properly, so it will oscillate?

Btw, have also checked if there is enough gain margin, and as I remember there was a great margin.

Thank you for help!

Yan
« Last Edit: December 31, 2015, 03:40:13 pm by Yansi »
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 5195
  • Country: nl
Re: 32kHz Crystal oscillator with 74HC4060 - doesn't oscillate!
« Reply #1 on: December 31, 2015, 02:04:15 pm »
Broken crystal?
Keyboard error: Press F1 to continue.
 

Offline YansiTopic starter

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: 32kHz Crystal oscillator with 74HC4060 - doesn't oscillate!
« Reply #2 on: December 31, 2015, 02:17:47 pm »
Tried two new ones (7pf and 12pF) and a few random junk ones in the THT (metal tube) package. None worked.
 

Offline matseng

  • Frequent Contributor
  • **
  • Posts: 563
  • Country: se
    • My Github
Re: 32kHz Crystal oscillator with 74HC4060 - doesn't oscillate!
« Reply #3 on: December 31, 2015, 02:24:39 pm »
Looking at some random 32K oscillators with the HC4060 it seems like the series resistor usually ranges from 50K up to 330K, and the parallel resistor us usually between 5M and 15M.
 

Offline station240

  • Supporter
  • ****
  • Posts: 967
  • Country: au
Re: 32kHz Crystal oscillator with 74HC4060 - doesn't oscillate!
« Reply #4 on: December 31, 2015, 02:31:41 pm »
 

Offline YansiTopic starter

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: 32kHz Crystal oscillator with 74HC4060 - doesn't oscillate!
« Reply #5 on: December 31, 2015, 03:27:49 pm »
Hmm. Interesting idea. I have tried to reduce the value of the series resistor to increase the drive level and gain margin to try to force the oscillation. Maybe I should try the opposite way. Reduce the gain margin and it might magicaly work.

So let's give it a shot.
« Last Edit: December 31, 2015, 03:45:59 pm by Yansi »
 

Offline YansiTopic starter

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: 32kHz Crystal oscillator with 74HC4060 - doesn't oscillate!
« Reply #6 on: December 31, 2015, 03:39:52 pm »
Whatta?! The damned devil oscillates on first try. 4M7 feedback, 330k damping resistor in series, 22p caps with a 12.5p Cload crystal.

That was solved fast. Doh... stupid me.

Thank you, as always :-)

Yan
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf