h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 537

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
10. Notes on WAIT Function
ASD
SCL
BC2–BC0
IRIC
(operation
example)
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
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.
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 16.33.)
and the fall of the 8th clock.
A
9
0
Figure 16.33 IRIC Flag Clear Timing on WAIT Operation
1
7
IRIC flag clear available
2
6
Transmit/receive data
3
5
4
4
5
3
6
IRIC flag clear unavailable
2
7
1
Section 16 I
8
Rev. 3.00 Mar 21, 2006 page 483 of 788
SCL =
‘L’ confirm
IRIC flag clear available
0
A
IRIC clear
2
C Bus Interface (IIC) (Optional)
9
Transmit/receive
1
7
REJ09B0300-0300
data
2
6
When BC2-0
IRIC clear
3
5
2

Related parts for h8s-2161b