Hi all,
I'm looking for ideas for a monostable square pulse generator, that would be triggerable at will, by a cpu/mcu, either on a falling or rising edge for the trigger, and the pulse width should be programmable in width, in microseconds.
The output should be TTL compatible, and the pulse width can be programmed in microseconds by a 16bit value, that can be latched by the mcu/cpu.
This could be done in fpgas of course, even the mcu/cpu part, but I'm only aiming at a discrete design, possibly using a Z80 for cpu, but that could very well be a 6502, 6800 or even some 8051 or similar (through hole parts, no smt, for easy hobby build).
The way I see it, the cpu would be able to chip select that circuit to either want to latch the 2 bytes of pulse length, or trigger the pulse that was programmed into it, at will.
Of course this can be done with a bunch of circuits, but is there an elegant and simple solution not requiring too much circuit complexity?
Any ideas?
Thanks
I'm looking for ideas for a monostable square pulse generator, that would be triggerable at will, by a cpu/mcu, either on a falling or rising edge for the trigger, and the pulse width should be programmable in width, in microseconds.
The output should be TTL compatible, and the pulse width can be programmed in microseconds by a 16bit value, that can be latched by the mcu/cpu.
This could be done in fpgas of course, even the mcu/cpu part, but I'm only aiming at a discrete design, possibly using a Z80 for cpu, but that could very well be a 6502, 6800 or even some 8051 or similar (through hole parts, no smt, for easy hobby build).
The way I see it, the cpu would be able to chip select that circuit to either want to latch the 2 bytes of pulse length, or trigger the pulse that was programmed into it, at will.
Of course this can be done with a bunch of circuits, but is there an elegant and simple solution not requiring too much circuit complexity?
Any ideas?
Thanks