This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
I am using SN74HC595DR in my design as a shift register, sometimes I can't get it, so I want to use SN74HC595DRG4 instead, but I find that it doesn't work and the signal doesn't output correctly, I don't see any functional difference between these two.
SN74HC595DR has normal waveform, the shift cycles is 8 cycles, the output is normal:
I replace U13 and U16 with SN74HC595DRG4, the output of U13 is zero(QA-QH), and the QH_(PIN9) has abnormal output, the shift cycles is 2, which is not normal either.
That looks like multiple clock pulses for a device that is fast enough.
See p. 15…17 of this application note for how to properly terminate signal lines; you probably want source termination.
What confuses me is why SN74HC595DR can be used, but SN74HC595DRG4 cannot be used if their parameters are the same
The newer devices are slightly faster, so the rising edges on the clock lines are actually detected as rising edges.
That sounds reasonable. I'll try to eliminate the ringing first and see if it will return to normal, thanks.
Hi Clemens, I tried to solve the ringing problem, but later I found that it was caused by the oscilloscope probe. After I replaced the oscilloscope probe and connected it to the pin as soon as possible, the ring was reduced to less than 1V, which should not affect the normal clk signal, but the output of the 595D chip is still abnormal, do you have any other suggestions? thanks.
You are observing that the '595 is shifting faster than expected. This implies that the '595 sees more clock edges than you are sending.
Please try sending a pattern like 10101010. If the output toggles multiple times, then you still have ringing.
Hi Clemens, the clock frequency I am using is approximately 100KHz, and this device supports a maximum of 25MHz. If the clk speed is too slow, may it cause poor device performance?
The frequency has no lower limit. What matters is the speed of the signal edges. What is the slope of the edges now?
Hi Clemens, I have optimized the CLK signal, and now there is no ringing, but there are still problems with the output. QA to QH are all 0, and the shift period of the QH_ is also wrong. Do you have any other suggestions?
QA…QH change when triggered with RCLK.
The last two input bits are 0, so when each clock pulse is read as four pulses, you get all zeros.
Might this chip be damaged? Does this still happen when you replace it?
What did you do to optimize the CLK signal?
This is a common issue for SN74HC595DRG4, which own a "TI" letter logo. The 8 pieces I purchased cannot be used, and the waveform is similar. I purchased them from an official designated supplier, so the quality should not be a problem. Regarding the elimination of ringing, I connected a 33R resistor to the clk signal line.
This is my all schematic, the input signal is reversed and isolated by optocoupler, the data chain is DAC+595D+595D, there are 25bits data every period, DAC retains 16 bits, do you currently prefer to think that this is a timing issue or a signal quality issue?
The rising edge still has ringing. And it happens near VCC/2, where it could leak to multiple clock edges.
I do not know if this is a measurement artifact of the probe, or actually happens at the pin. But your problem imples that it's the latter.
How long is the trace from the DAC to the 595? Where exactly did you place the 33 Ω?
Anyway, try using the SN74HCS595 instead; it has much larger hysteresis at its inputs.
Hi Clemens, this is the layout and the location of the 33R.I am trying to buy and test S595 chip.
For source termination, the resistor should be as near as possible at the driver's pin.
Hi Zac,
As Clemens mentioned, do you still see this ringing on the rising edge?
Hi Albert&Clemens, I have found the root cause, due to the long rise time of the input signal of SN74LVC3G34, uncertain signal appeared in the output, causing clock oscillation,do you have a recommended chip that can replace SN74LVC3G34 and accept long rise time input without causing output uncertainty? Thanks.
Apparently, the '595 happens to be able to toggle its internal clock fast enough in this case. But it is not guaranteed, and I doubt that you can generate a reliable input signal at that speed.