banedon wrote:
I know that if the resistance of a pull up resister is too high then it can slow reaction times of state changes within a connected IC pin. Is this what you're referring too?
Correct.
If the rise time on
/IRQ is too long relative to the Ø2 clock rate the MPU may still see
/IRQ as being low after the most recent interrupt has been serviced and control has been returned to the foreground process. The result will be a spurious interrupt, as the new "interrupt" was not caused by a device in the system, but instead was the result of the time-constant produced by the pull-up resistor's resistance and the circuit's parasitic capacitance. Garth and I both discuss this phenomenon in our interrupt articles.
cbscpe wrote:
As for the pull-ups for IRQ et.al. I normally use 2k2 or even 1k8. Faster is always better and as these signals are high for 99% of the time some mA more or less don't matter, especially considering that a fast GAL alone uses 100mA and more.
Generally speaking, yes, as long as the weakest device on the
/IRQ line can tolerate the current. Also:
- Clear all interrupt sources in your ISR as early as possible. This gives /IRQ more time to rise back to Vcc.
- Arrange your unit's layout to keep the length of /IRQ traces (or wires) as short as possible.
- SIP-type resistor arrays tend to have a little less inductance than discrete leaded components, so use a SIP if possible.