Do you know?
[AE] DAC, ADC and 8085 timing - part 2
- Fact 1 of 12โก
Flash ADC: fastest, but needs many comparators
A flash ADC needs 2^n - 1 comparators for n bits, so 3 bits need 7. All compare at once, so it is the fastest ADC, like a tube light switching on instantly. Recall: how many comparators for 3 bits?
- Fact 2 of 12๐ข
Flash ADC needs a priority encoder
Comparator outputs form a thermometer code, which a priority encoder converts to binary, because raw outputs cannot be read directly. Recall: which block converts thermometer code to binary?
- Fact 3 of 12๐
Dual slope ADC rejects mains hum
Dual slope ADC integrates the input for a fixed time, then discharges with a reference; discharge time gives the digital value. It rejects 50 Hz mains hum, which is why digital multimeters use it. Recall: which ADC is used in digital multimeters?
- Fact 4 of 12๐ฏ
Dual slope: component values matter less
Its result depends on a counting ratio, not on the RC component values, so component drift barely affects accuracy. Like a meter reading that stays right even with cheap parts. Recall: does dual slope depend on RC values?
- Fact 5 of 12๐ข
Dual slope trades speed for accuracy
Dual slope conversion has two phases, so it is slower than flash ADC but more accurate and noise-resistant. Like a careful scooter brake versus a sudden jerk. Recall: faster ADC, flash or dual slope?
- Fact 6 of 12๐
Machine cycle: one bus operation
A machine cycle is one bus operation, such as opcode fetch or memory read. Each instruction uses one or more machine cycles, like one stop on a bus route. Recall: what is one bus operation called?
- Fact 7 of 12โฑ๏ธ
T-state: one clock tick
A T-state is one period of the processor clock. Opcode fetch uses 4 to 6 T-states, while memory read uses 3, like pressure cooker whistle beats. Recall: T-states for memory read?
- Fact 8 of 12๐
8085 clock: 6 MHz crystal gives 3 MHz
The 8085 divides its crystal frequency by two, so a 6 MHz crystal gives a 3 MHz internal clock. Each T-state then lasts 0.33 ยตs. Recall: internal clock from a 6 MHz crystal?
- Fact 9 of 12๐งฎ
Instruction time = T-states รท clock
Instruction time equals total T-states divided by clock frequency. At 3 MHz, 10 T-states take 3.33 ยตs, like bus time equals distance divided by speed. Recall: time for 10 T-states at 3 MHz?
- Fact 10 of 12โก๏ธ
MOV A,B: one machine cycle
MOV A,B takes one machine cycle of 4 T-states, so it runs in 1.33 ยตs at 3 MHz. Register-to-register moves stay inside the chip. Recall: T-states for MOV A,B?
- Fact 11 of 12๐
ALE latches the low address byte
ALE goes high during T1 so the 8085 can latch AD0 to AD7 as the low address byte. The same pins carry address then data. Recall: which pin latches the low address byte?
- Fact 12 of 12๐
Every instruction starts with opcode fetch
Each instruction begins with an opcode fetch machine cycle that reads the instruction code from memory, like checking the route board before boarding. Recall: first machine cycle of every instruction?
