25
votes
Are there any microcontrollers that do not require an external clock source?
Many (most?) MCU's have an internal oscillator that can be used as the clock.
Typically there will be a configuration that is held in non-volatile memory to set the clocking mode. The actual method ...
21
votes
Accepted
Why does the race hazard theorem work?
As others have pointed out, mathematically the statements are exactly the same, and the additional term is "redundant". It would also be "redundant" for me to copy their mathematical proofs here.
...
20
votes
Is there a microcontroller with zero interrupt jitter?
You are approaching this from the wrong direction. You shouldn't have a specification which says "I need such mcu to measure times between two events with precision up to 1 cycle". You ...
15
votes
Accepted
Why am I Seeing A Weird "Notch" on the Data Line For Some Logical 1s?
Thanks for everyone's help. I believe Bruce Abbott has given the correct answer. I'm posting from my bed and I cannot test it yet until tomorrow, but The analysis below is confirmed, when he mentioned ...
12
votes
Accepted
Why microcontroller takes many clock cycles to start up with PLL clock source?
Deeper interpretation: The PLL is actually producing clock cycles during that whole time. The problem is that until it achieves "lock", the clock cycles may at times be too short to allow the CPU to ...
12
votes
Accepted
How can the RMW instructions on PIC14 take a single cycle?
You get a first clue in the datasheet where it states
DC - 20 MHz oscillator / clock input
DC - 200 ns instruction cycle
A 20 MHz clock has a cycle time of 50 ns, that's only 1/4th of the 200 ns ...
11
votes
Are there any microcontrollers that do not require an external clock source?
The Microchip PIC range of chips (or at least some of them) can use their own internal oscillator, instead of an external clock.
10
votes
Why does the race hazard theorem work?
Proof by Boolean algebra:
A x B + A' x C [Left-hand side]
= A x B x 1 + A' x C x 1 [Unsimplify AND with true]
= A x B x (1 + C) + A' x C x (1 + B) [True OR anything]
= A x B x 1 + A x B x C + A' x 1 ...
10
votes
Are there any microcontrollers that do not require an external clock source?
Just look for internal oscillator in the documentation or features on an MCU. There are drawbacks and positives to using an internal oscillator
Chances are, your favorite MCU has an internal RC ...
9
votes
Why is there a maximum time for length of write pulse to write on an EEPROM?
I assume your question relates to parallel EEPROMs.
The Write pulse (time) is a minimum specification and typically has no upper bound. In other words the time specified limits the speed of writing (...
9
votes
Accepted
How can I implement a very simple asynchronous DRAM controller?
There are complete schematics for the IBM PC/XT in the IBM Personal Computer XT technical reference manual (Appendix D), which you may be able to find on line.
The problem here is that, given a ...
8
votes
Why does the race hazard theorem work?
Consider the LHS by itself:
A x B + A' x C
If both B and C are true in this statement, does the condition of A make any difference to the result?
No - because either (A x B) or (A' x C) will be ...
8
votes
Why am I Seeing A Weird "Notch" on the Data Line For Some Logical 1s?
Ensure that you have adequate decoupling capacitors on all your ICs. A 100nF ceramic from power to ground on each IC keeping its leads as short as possible and a low ESR electrolytic say 100uF on the ...
8
votes
When using PWM, what is the purpose of having two complimentary square waves on the same channel?
Imagine you drive something in a PUSH-PULL configuration; then, PWMH can drive the high-side switch, whereas PWML drives the low side switch. Many of these PWM controllers even have a dead-time ...
8
votes
Is there a microcontroller with zero interrupt jitter?
I believe some of the simpler PIC series have constant interrupt latency. For example, the ancient PIC16F84 has latency listed as 3.25 Tcy (or 13 clock cycles).
Unless your interrupt request is ...
8
votes
Why specify a maximum pulse width for reset pin?
When enabled the RESET button on the EVAL board simply grounds the /RESET pin (schematic available at the manufacturer's website). I see no specific instruction to limit the time of your finger on the ...
7
votes
Accepted
Advantage of clock enable over clock division
There are several advantages to this methodology that I can think of:
Clock Network - Firstly you only have one clock rather than three. This means that there is less competition for global and local ...
7
votes
How can I implement a very simple asynchronous DRAM controller?
Your question is complicated enough that I'm not even sure what your actual problem is, but I'll try!
The "cleanest" 6502-based DRAM design I could find is from the Commodore PET 2001-N. It has a ...
7
votes
Rigol DS1074 oscilloscope shows very wrong timing
Looks like a bug to me.
I reproduced it on my 1054z using an Arduino with an LED blinking program.
This is the signal with 12M memory depth acquired at 500ms timescale, and then expanded at 200 ms ...
6
votes
RTC - is it worth it?
Firstly, a real time clock is not what you want. A real time clock is designed to give you the current time, as in year, month, day, hour, minute, second etc. It usually has a battery, so it can keep ...
6
votes
Electrical Device Up-time
First, the current sensors. You don't even need to tap into the wires - a properly chosen coil placed next to a "live" mains wire (say, taped to the supply cable) with AC will have current induced in ...
6
votes
How to delay a relay closing?
simulate this circuit – Schematic created using CircuitLab
A CMOS schmitt trigger 40106 or 4093 (check the numbers) would work for this.
Pick a reasonable value for C1 - 10uF, say.
Calculate R ...
6
votes
SDRAM: Why CAS latency is configurable
Inside the SDRAM chip, the actual CAS latency requirement is a combinatorial time delay, independent of the external interface's clock period. It may help to think of it as an old-fashioned ...
6
votes
Is there a microcontroller with zero interrupt jitter?
One way would be to not use interupts for measuring the time at all. Certain processors like the SAMD series from Microchip have an event system, where peripherals can trigger events which lead to ...
6
votes
Is there a microcontroller with zero interrupt jitter?
Input Capture
Many, many microcontrollers have an "input capture" feature.
A timer runs freely at a fixed frequency. When an external signal happens, the timer value is copied to a ...
5
votes
What's the standard procedure of DDR4 training?
There isn't a standard procedure defined; JEDEC says its up to each manufacturer to determine the most appropriate way to carry it out. But there is a guidance document produced by Micron that gives ...
5
votes
Accepted
Op-Amp settling time in bits
A 10-bit binary number can take on 210 = 1024 values.
Therefore, if you want something to settle "within 10 bits," you're saying that it needs to settle to within 1 part in 1024: \$\frac{1}{1024} = 0....
5
votes
Cascaded flip-flops and shift register timing
Edge triggered FFs have set-up and hold time requirements. Only data that was present before the clock triggered, will have satisfied the set-up time, and thus be "registered". Since (if ...
5
votes
Cascaded flip-flops and shift register timing
To understand it, consider first a gated D-Latch which is level sensitive which means that the input is applied to the output as long as the gate (E) is active, otherwise the last state is maintained:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
timing × 345fpga × 52
digital-logic × 33
clock × 31
timing-analysis × 26
spi × 19
vhdl × 18
delay × 18
microcontroller × 17
flipflop × 17
verilog × 16
arduino × 13
adc × 12
timer × 12
constraints × 12
pic × 11
i2c × 11
sdc × 10
xilinx × 9
voltage × 8
capacitor × 8
stm32 × 7
avr × 7
signal × 7
555 × 7