Reading the datasheet of the 8253, I don't understand the sentence concerning the mode 2 and 3 : "In modes 2 and 3, if a CLK source other than the system clock is used, GATE should be pulsed immediately following /WR of a new count value"
can somebody help me ?
best regards,
pascal
Didn't find your answer? Ask the community — no account required.
K
Keyser Soze
the mode 2 and 3 :
should be pulsed immediately following /WR of a new
What the datasheet is trying hard to not say is that the counter has a flaw in the design.
When operating in auto reload (rate generator or square wave) modes with an external clock source the internal state of the GATE input may be ambiguous after an update of the terminal count value of the counter.
Why the internal state of the GATE input maybe be wrong under these conditions is a somewhat involved explanation.
The solution suggested by the datasheet will force the internal state of the GATE input to a known state with the side affect of causing the counter to restart and load the new terminal count value on the next external clock pulse.
Getting the 8253 to work correctly with an external clock can be quite a challenge when using modes 2 and 3.
P
Pascal Garcia
thanks a lot !
the design.
external clock source the internal state of the GATE
counter.
is a somewhat involved explanation.
GATE input to a known state with the side affect of
next external clock pulse.
challenge when using modes 2 and 3.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.