HD6432160 RENESAS [Renesas Technology Corp], HD6432160 Datasheet - Page 490

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Automatic switching is performed from formatless mode to the I
DDCSWR is automatically cleared to 0 on detection of a falling edge on the SCL pin. Switching
from the I
software.
In formatless mode, bits (such as MSL and TRS) that control the I
must not be modified. When switching from the I
bit to 1 or clear it to 0 according to the transfer direction (transmission or reception) in formatless
mode, then set the SW bit to 1. After automatic switching from formatless mode to the I
format (slave mode), the TRS bit is automatically cleared to 0 in order to wait for slave address
reception.
If a falling edge is detected on the SCL pin during formatless operation, the mode of the I
interface is immediately switched to I
16.4.9
This LSI provides the DTC to allow continuous data transfer. The DTC is initiated when the IRTR
flag is set to 1, which is one of the two interrupt flags (IRTR and IRIC). When the ACKE bit is 0,
the ICDRE, IRIC, and IRTR flags are set at the end of data transmission regardless of the
acknowledge bit value. If the ACKE bit is 1, the ICDRE, IRIC, and IRTR flags are set when data
transmission is completed with the acknowledge bit value of 0, and if the ACKE bit is 1, only the
IRIC flag is set when data transmission is completed with the acknowledge bit value of 1.
When initiated, the DTC transfers specified number of bytes, clears the ICDRE, IRIC, and IRTR
flags to 0. Therefore, no interrupt is generated during continuous data transfer; however, if data
transmission is completed with the acknowledge bit value of 1 when the ACKE bit is 1, the DTC
is not initiated, thus allowing an interrupt to be generated if enabled.
The acknowledge bit may indicate specific events such as completion of receive data processing
for some receiving devices, and for other receiving devices, the acknowledge bit may be fixed at
1, indicating no specific events.
The I
the slave address and the R/: bit, confirmation of reception with the acknowledge bit, indication
of the last frame, and so on. Therefore, continuous data transfer using the DTC must be carried out
in conjunction with CPU processing by means of interrupts.
Table 16.7 shows some examples of processing using the DTC. These examples assume that the
number of transfer data bytes is known in slave mode.
Rev. 2.0, 08/02, page 450 of 788
2
C bus format provides for selection of the slave device and transfer direction by means of
2
Operation Using DTC
C bus format to formatless mode is achieved by setting the SW bit in DDCSWR to 1 by
2
C bus format before a stop condition is detected.
2
C bus format to formatless mode, set the TRS
2
C bus format when the SW bit in
2
C bus interface operating mode
2
C bus
2
C bus

Related parts for HD6432160