C7 Digital logic · Practice
Interfacing logic to the world
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
Check
An output guaranteed at 2.9 V high while sourcing 10 mA drives an LED with 1.8 V across it. What series resistor sets that current?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
Check
A 5 V signal drives a 1.8 V chip's input through a series resistor. The clamp diode conducts at 0.3 V above the supply, and the datasheet allows 2 mA of injection. What's the smallest safe resistor?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
Check
A 5 V signal drives a divider of 1.8 kΩ over 2.2 kΩ into an input with 22 pF.
(a)
What's the high level at the input?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What's its 10 to 90% rise time?
Check
A driver guarantees = 2.9 V and = 0.5 V; the receiver needs = 2 V and = 1.5 V. What's the high-level noise margin? (Negative means it fails.)
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
An output can sink 8 mA low and source 1 mA high. Each input it drives draws 0.1 mA low and 40 µA high. How many inputs can it drive?
Check
A pull-up of 4.7 kΩ charges a bus of 50 pF. What's the 10 to 90% rise time, in µs?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
Choose a divider from E24 values (10, 11, 12, 13, 15, 16, 18, 20, 22, 24, 27, 30, 33, 36, 39, 43, 47, 51, 56, 62, 68, 75, 82, 91, times any power of ten from 100 Ω to 1 MΩ) that brings Vin = 12 V down to at most Vout_max = 3.3 V and as close as possible to Vout = 3 V, with Thevenin resistance at most Rmax = 50 kΩ. Set R1, R2 (ohms) and v (the output voltage). Break ties by the smaller Thevenin resistance.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
An output sinks 10 mA with 0.3 V low, lighting an LED (1.8 V) from the 3.3 V supply. What resistor?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
Check
A 12 V signal drives a divider of 1 kΩ over 2 kΩ. What's the output?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in C7