335CHAPTER 16 SERIAL INTERFACE CHANNEL 0 (μPD78058F SUBSERIES)RELTCMDTSO0 Latch(3) Other signalsFigure 16-33 shows RELT and CMDT operations.Figure 16-33. RELT and CMDT Operations(4) Transfer startSerial transfer is started by setting transfer data to the serial I/O shift register 0 (SIO0) when the following twoconditions are satisfied.• Serial interface channel 0 operation control bit (CSIE0) = 1• Internal serial clock is stopped or SCK0 is at high level after 8-bit serial transfer.Cautions 1. If CSIE0 is set to “1” after data write to SIO0, transfer does not start.2. It is necessary to set the N-ch open-drain output in the high impedance state whenreceiving data, so write FFH in SIO0 in advance.Upon termination of 8-bit transfer, serial transfer automatically stops and the interrupt request flag (CSIIF0)is set.(5) Error detectionIn the 2-wire serial I/O mode, the serial bus SB0 (SB1) status being transmitted is fetched into the destinationdevice, that is, serial I/O shift register 0 (SIO0). Thus, transmit error can be detected in the following way.(a) Method of comparing SIO0 data before transmission to that after transmissionIn this case, if two data differ from each other, a transmit error is judged to have occurred.(b) Method of using the slave address register (SVA)Transmit data is set to both SIO0 and SVA and is transmitted. After termination of transmission, COI bit(match signal coming from the address comparator) of the serial operating mode register 0 (CSIM0) istested. If “1”, normal transmission is judged to have been carried out. If “0”, a transmit error is judgedto have occurred.