B
Bart T.
Hi,
I'm using a 74HC165 shift register in a circuit with 2 other HC ICs
that interfaces to the parallel port. The inputs to the 165 are from a
flip flop which is working fine, but I'm not able to get the 165 to
work for some reason.
I have /CE (clock enable) tied to ground, /PL (parallel load) and CLK
are hooked up to individual parallel port lines. It appears as though
the chip doesn't want to perform the parallel load and I've measured
the output (Q7) voltage to be around 2.7V, which, IIRC, is invalid for
CMOS. It doesn't seem to change with clock pulses which is strange.
Could it be that the chip is bad? Or, am I doing the parallel load
wrong? Here's the C code I'm using:
OUTP(pport, _PARALLEL_LOAD(1) | _OUTPUT_CLOCK(0));
OUTP(pport, _PARALLEL_LOAD(0) | _OUTPUT_CLOCK(0));
OUTP(pport, _PARALLEL_LOAD(1) | _OUTPUT_CLOCK(1));
And then I read the data. The interface to the parallel port is
working correctly because I'm able to successfully drive a 74HC164 and
273 without any problems. It's just the 165 that's not working.
Any ideas on what could be wrong?
Thanks,
I'm using a 74HC165 shift register in a circuit with 2 other HC ICs
that interfaces to the parallel port. The inputs to the 165 are from a
flip flop which is working fine, but I'm not able to get the 165 to
work for some reason.
I have /CE (clock enable) tied to ground, /PL (parallel load) and CLK
are hooked up to individual parallel port lines. It appears as though
the chip doesn't want to perform the parallel load and I've measured
the output (Q7) voltage to be around 2.7V, which, IIRC, is invalid for
CMOS. It doesn't seem to change with clock pulses which is strange.
Could it be that the chip is bad? Or, am I doing the parallel load
wrong? Here's the C code I'm using:
OUTP(pport, _PARALLEL_LOAD(1) | _OUTPUT_CLOCK(0));
OUTP(pport, _PARALLEL_LOAD(0) | _OUTPUT_CLOCK(0));
OUTP(pport, _PARALLEL_LOAD(1) | _OUTPUT_CLOCK(1));
And then I read the data. The interface to the parallel port is
working correctly because I'm able to successfully drive a 74HC164 and
273 without any problems. It's just the 165 that's not working.
Any ideas on what could be wrong?
Thanks,