NEC PD78058F(A) Manuale Utente

Pagina di 593
358
CHAPTER 17   SERIAL INTERFACE CHANNEL 0 (
µ
PD78058FY SUBSERIES)
17.4.3   2-wire serial I/O mode operation
The 2-wire serial I/O mode can cope with any communication format by program.
Communication is basically carried out with two lines of serial clock (SCK0) and serial data input/output (SB0 or
SB1).
Figure 17-10.  Serial Bus Configuration Example Using 2-Wire Serial I/O Mode
(1) Register setting
The 2-wire serial I/O mode is set with the serial operating mode register 0 (CSIM0), serial bus interface control
register (SBIC), and interrupt timing specify register (SINT).
Master
SCK0
Slave
SB0 (SB1)
SCK0
SB0 (SB1)
AV
DD
AV
DD