Hello everyone!
I'm working on my frequency counter, and now I need to create a 1 Hertz signal, and I'm doing that by using a 4521 chip (a 24-stage frequency divider).
But I have a problem, when I power the circuit, the chip only starts "oscillating", after a while (sometimes), or after I touch (yes, literally touch something, like the crystal, or sometimes when I plug a 9V battery, it only starts counting after I stop touching with my hands the insulator of the battery connector, or other times when I touch some capacitor...). This is really odd :/
- Chip's Vdd and Vdd1 pins are connected to V+ (5V)
- Chip's Vss and Vss1 pins are connected to Ground
- Chip's master reset pin is connected to ground
- A1 pin is connected to ground
- Y2 pin (pin 4) is connected to one of the pins of the crystal
- A2 pin (pin 6) is connected to the other pin of the crystal
- Y1 pin is floating, like I even saw in some schematics.
- Both the pins of the crystal are connected to the ground throught 22pF caps (one for each pin)
- The Vdd pin is even decoupled to ground throught one 100 nF cap (a late addition).
- The crystal is 4.194304Mhz
- All the outut pins are left floating - except for the Q23 pin that is connected to a resistor and a LED - (that should be blinking).
- The circuit is powered by an AC adaptor or by a battery and the voltage is regulated to 5V by a 7805...
When I power up the circuit, it should start "oscillating", but that only happens sometimes or after waiting a random amount of time...
Guys what is wrong?
Is it static or something like that? If so, how to solve this problem?
http://www.nxp.com/documents/data_sheet/HEF4521B.pdf
Thanks a lot for reading!
Miguel
I'm working on my frequency counter, and now I need to create a 1 Hertz signal, and I'm doing that by using a 4521 chip (a 24-stage frequency divider).
But I have a problem, when I power the circuit, the chip only starts "oscillating", after a while (sometimes), or after I touch (yes, literally touch something, like the crystal, or sometimes when I plug a 9V battery, it only starts counting after I stop touching with my hands the insulator of the battery connector, or other times when I touch some capacitor...). This is really odd :/
- Chip's Vdd and Vdd1 pins are connected to V+ (5V)
- Chip's Vss and Vss1 pins are connected to Ground
- Chip's master reset pin is connected to ground
- A1 pin is connected to ground
- Y2 pin (pin 4) is connected to one of the pins of the crystal
- A2 pin (pin 6) is connected to the other pin of the crystal
- Y1 pin is floating, like I even saw in some schematics.
- Both the pins of the crystal are connected to the ground throught 22pF caps (one for each pin)
- The Vdd pin is even decoupled to ground throught one 100 nF cap (a late addition).
- The crystal is 4.194304Mhz
- All the outut pins are left floating - except for the Q23 pin that is connected to a resistor and a LED - (that should be blinking).
- The circuit is powered by an AC adaptor or by a battery and the voltage is regulated to 5V by a 7805...
When I power up the circuit, it should start "oscillating", but that only happens sometimes or after waiting a random amount of time...
Guys what is wrong?
Is it static or something like that? If so, how to solve this problem?
http://www.nxp.com/documents/data_sheet/HEF4521B.pdf
Thanks a lot for reading!
Miguel
Last edited: