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.
Hi,
I suspect your code in the first place.
I didn't write code. I used the block editor to design the schematic, see attachment (for EPM240).
I also made a simulation which showed correct waveforms.
- FvM3 years ago
Super Contributor
Hi,
how do you observe the counter output? What's the 1 kHz external clock source, sure it's suited as CPLD clock?- Niko33 years ago
Occasional Contributor
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.
- FvM3 years ago
Super Contributor
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.