Example Of Wait Occurrence - NEC 78K0/KD1 Series User Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

29.3 Example of Wait Occurrence

<1> Watchdog timer
<On execution of MOV WDTM, A>
Number of execution clocks: 8
(5 clocks when data is written to a register that does not issue a wait (MOV sfr, A).)
<On execution of MOV WDTM, #byte>
Number of execution clocks: 10
(7 clocks when data is written to a register that does not issue a wait (MOV sfr, #byte).)
<2> Serial interface UART6
<On execution of MOV A, ASIS6>
Number of execution clocks: 6
(5 clocks when data is read from a register that does not issue a wait (MOV A, sfr).)
<3> A/D converter
Table 29-2. Number of Wait Clocks and Number of Execution Clocks on Occurrence of Wait (A/D Converter)
<On execution of MOV ADM, A; MOV ADS, A; or MOV A, ADCR>
• When f
= 10 MHz, t
X
CPUL
Value of Bit 5 (FR2)
of ADM Register
0
1
Note On execution of MOV A, ADCR
Remark The clock is the CPU clock (f
f
:
X1 input clock frequency
X
t
: Low-level width of CPU clock
CPUL
CHAPTER 29 CAUTIONS FOR WAIT
= 50 ns
f
Number of Wait Clocks
CPU
f
9 clocks
X
f
/2
5 clocks
X
2
f
/2
3 clocks
X
3
f
/2
2 clocks
X
4
f
/2
0 clocks (1 clock
X
f
5 clocks
X
f
/2
3 clocks
X
2
f
/2
2 clocks
X
3
f
/2
0 clocks (1 clock
X
4
f
/2
0 clocks (1 clock
X
).
CPU
Preliminary User's Manual U16315EJ1V0UD
Number of Execution Clocks
14 clocks
10 clocks
8 clocks
7 clocks
Note
)
5 clocks (6 clocks
10 clocks
8 clocks
7 clocks
Note
)
5 clocks (6 clocks
Note
)
5 clocks (6 clocks
Note
)
Note
)
Note
)
429

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents