h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 601

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
15. Notes on WAIT function
1. When having received 1 as the acknowledge bit value for the last transmit data at the end
2. Set receive mode (TRS = 0) before the next start condition is input in slave mode.
(a) Conditions to cause this phenomenon
(b) Error phenomenon
(c) Restrictions
of a series of transmit operation, clear the ACKE bit in ICCR to 0 once to initialize the
ACKB bit to 0.
Complete transmit operation by the procedure shown in figure 17.21, in order to switch
from slave transmit mode to slave receive mode.
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
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.
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.)
and the fall of the 8th clock.
Rev. 3.00 Jan 25, 2006 page 549 of 872
Section 17 I
2
C Bus Interface (IIC)
REJ09B0286-0300

Related parts for h8s-2158