Rev. 1.00, 09/03, page 498 of 704
TDRE
Data n
TEND
ICDRS
ICDRR
1
9
2
3
4
5
6
7
8
9
TRS
ICDRT
A
SCL
(master output)
SDA
(master output)
SDA
(slave output)
SCL
(slave output)
Bit 7
Slave transmit mode
Slave receive
mode
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
[3] Clear TEND
[5] Clear TDRE
[4] Read ICDRR (dummy read)
after clearing TRS
User
processing
A/
Figure 17.10 Operation Timing in Slave Transmit Mode (2)
17.4.5
Slave Receive Operation
In slave receive mode, the master device outputs the transmit clock and transmit data, and the
slave device returns an acknowledge signal. The operation timings in slave receive mode are
shown in figures 17.11 and 17.12. The reception procedure and operations in slave receive mode
are described below.
1. Set the ICE bit in ICCRA to 1. Set the WAIT bit in ICMR and the CKS3 to CKS0 bits in
ICCRA to 1 (initial setting). Set the MST and TRS bits in ICCRA to select slave receive mode,
and wait until the slave address matches.
2. When the slave address matches in the first frame following detection of the start condition,
the slave device outputs the level specified by ACKBT in ICIER to SDA, at the rise of the 9th
clock pulse. At the same time, RDRF in ICSR is set to read ICDRR (dummy read). (Since the
read data show the slave address and R/
W
, it is not used.)
3. Read ICDRR every time RDRF is set. If the 8th receive clock pulse falls while RDRF is 1,
SCL is fixed low until RDRF is cleared. The change of the acknowledge before clearing
RDRF, to be returned to the master device, is reflected to the next transfer frame.
Содержание H8S/2437
Страница 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Страница 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Страница 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Страница 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Страница 168: ...Rev 1 00 09 03 page 130 of 704 ...
Страница 336: ...Rev 1 00 09 03 page 298 of 704 ...
Страница 402: ...Rev 1 00 09 03 page 364 of 704 ...
Страница 454: ...Rev 1 00 09 03 page 416 of 704 ...
Страница 512: ...Rev 1 00 09 03 page 474 of 704 ...
Страница 562: ...Rev 1 00 09 03 page 524 of 704 ...
Страница 648: ...Rev 1 00 09 03 page 610 of 704 ...
Страница 672: ...Rev 1 00 09 03 page 634 of 704 ...
Страница 732: ...Rev 1 00 09 03 page 694 of 704 ...
Страница 742: ...Rev 1 00 09 03 page 704 of 704 ...
Страница 745: ......
Страница 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...