361
CHAPTER 17 SERIAL INTERFACE CHANNEL 0 (
µ
PD78078 SUBSERIES)
(2) Communication operation
The 2-wire serial I/O mode is used for data transmission/reception in 8-bit units. Data transmission/reception
is carried out bit-wise in synchronization with the serial clock.
Shift operation of the serial I/O shift register 0 (SIO0) is carried out in synchronization with the falling edge
of the serial clock (SCK0). The transmit data is held in the SO0 latch and is output from the SB0/P25 (or
SB1/P26) pin on an MSB-first basis. The receive data input from the SB0 (or SB1) pin is latched into the
SIO0 at the rising edge of SCK0.
Upon termination of 8-bit transfer, the SIO0 operation stops automatically and the interrupt request flag
(CSIIF0) is set.
Figure 17-32. 2-Wire Serial I/O Mode Timings
The SB0 (or SB1) pin specified for the serial data bus is an N-ch open-drain input/output pin and thus it must
be externally connected to a pull-up resistor. Because it is necessary to set the N-ch open-drain output to
high-impedance state for data reception, write FFH to SIO0 in advance.
The SB0 (or SB1) pin generates the SO0 latch status and thus the SB0 (or SB1) pin output status can be
manipulated by setting bit 0 (RELT) and bit 1 (CMDT) of the serial bus interface control register (SBIC).
However, do not carry out this manipulation during serial transfer.
Control the SCK0 pin output level in the output mode (internal system clock mode) by manipulating the P27
output latch (refer to 17.4.5 SCK0/P27 pin output manipulation).
(3) Other signals
Figure 17-33 shows RELT and CMDT operations.
Figure 17-33. RELT and CMDT Operations
1
2
3
4
5
6
7
8
SCK0
D7
D6
D5
D4
D3
D2
D1
D0
SB0 (SB1)
CSIIF0
Transfer Start at the Falling Edge of SCK0
End of Transfer
RELT
CMDT
SO0 Latch
Summary of Contents for PD78076
Page 2: ...2 MEMO ...
Page 12: ...12 MEMO ...
Page 48: ...48 MEMO ...
Page 64: ...64 MEMO ...
Page 82: ...82 MEMO ...
Page 100: ...100 MEMO ...
Page 130: ...130 MEMO ...
Page 180: ...180 MEMO ...
Page 222: ...222 MEMO ...
Page 248: ...248 MEMO ...
Page 288: ...288 MEMO ...
Page 308: ...308 MEMO ...
Page 364: ...364 MEMO ...
Page 494: ...494 MEMO ...
Page 526: ...526 MEMO ...
Page 544: ...544 MEMO ...
Page 558: ...558 MEMO ...
Page 580: ...580 MEMO ...
Page 596: ...596 MEMO ...
Page 598: ...598 MEMO ...
Page 626: ...626 MEMO ...