Renesas H8S/2158 User Manual page 15

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Item
17.7 Usage Notes
Page
Revision (See Manual for Details)
549,
Description added
550
15. Notes on WAIT function
(a) Conditions to cause this phenomenon
When both of the following conditions are satisfied, the clock
pulse of the 9th clock could be outputted continuously in master
mode using the WAIT function due to the failure of the WAIT
insertion after the 8th clock fall.
(1) Setting the WAIT bit of the ICMR register to 1 and operating
WAIT, in master mode
(2) If the IRIC bit of interrupt flag is cleared from 1 to 0 between
the fall of the 7th clock and the fall of the 8th clock.
(b) Error phenomenon
Normally, WAIT State will be cancelled by clearing the IRIC flag
bit from 1 to 0 after the fall of the 8th clock in WAIT State. In this
case, if the IRIC flag bit is cleared between the 7th clock fall and
the 8th clock fall, the IRIC flag clear- data will be retained
internally. Therefore, the WAIT State will be cancelled right after
WAIT insertion on 8th clock fall.
(c) Restrictions
Please clear the IRIC flag before the rise of the 7th clock (the
counter value of BC2 through BC0 should be 2 or greater), after
the IRIC flag is set to 1 on the rise of the 9th clock.
If the IRIC flag-clear is delayed due to the interrupt or other
processes and the value of BC counter is turned to 1 or 0,
please confirm the SCL pins are in L' state after the counter
value of BC2 through BC0 is turned to 0, and clear the IRIC
flag. (See figure 17.28.)
ASD
A
SCL
9
BC2 to BC0
0
IRIC
(operation
example)
Figure 17.28 IRIC Flag Clear Timing on WAIT Operation
Transmit/receive data
1
2
3
4
5
6
7
7
6
5
4
3
2
1
IRIC flag clear available
IRIC flag clear unavailable
Rev. 3.00 Jan 25, 2006 page xiii of lii
Transmit/receive
A
data
SCL =
8
9
1
2
3
'L' confirm
0
7
6
5
When BC2-0 ≥ 2
IRIC clear
IRIC clear
IRIC flag clear available

Advertisement

Table of Contents
loading

Table of Contents