PIC10F200/202/204/206
FIGURE 5-2:
SUCCESSIVE I/O OPERATION (PIC10F200/202/204/206)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
PC
Instruction
Fetched MOVWF GPIO
PC + 1
MOVF GPIO, W
PC + 2
NOP
PC + 3
NOP
GP<2:0>
Instruction
Executed
Port pin
written here
Port pin
sampled here
MOVWF GPIO MOVF GPIO,W
NOP
(Write to GPIO) (Read GPIO)
This example shows a write to GPIO followed
by a read from GPIO.
Data setup time = (0.25 TCY – TPD)
where: TCY = instruction cycle
TPD = propagation delay
Therefore, at higher clock frequencies, a
write followed by a read may be problematic.
© 2007 Microchip Technology Inc.
DS41239D-page 27