Forum Discussion
programming successful but no function of CPLD
- 3 years ago
Hi,
which series resistor value? Clock edge may be too slow and cause multiple transitions. As you say it's a self designed board, insufficient power supply bypassing and ground bounce can cause irregular CPLD behaviour.
I use a DSO/state analyzer. It has a 5V 1 kHz clock output. The 5V output is scaled down to 2.8V with a serial resistor and a zener diode.
Five channels of the state analyzer show the clock input and the 4 counter outputs which are connected to pins of the CPLD.
Hi,
which series resistor value? Clock edge may be too slow and cause multiple transitions. As you say it's a self designed board, insufficient power supply bypassing and ground bounce can cause irregular CPLD behaviour.
- Niko32 years ago
Occasional Contributor
Thank you FvM for your tips.
It really was a too slow clock slope. After many tests with varying conditions I had a look on the clock slope with high time resolution, see the attachment. The yellow track is the rising edge of original 1 kHz clock and the red one is after an inverter. With the improved slope my circuit works fine.