upd78f0148m1gka1-9eu Renesas Electronics Corporation., upd78f0148m1gka1-9eu Datasheet - Page 359

no-image

upd78f0148m1gka1-9eu

Manufacturer Part Number
upd78f0148m1gka1-9eu
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
16.4.2 3-wire serial I/O mode
interface.
serial input (SI1n) lines.
(1) Registers used
The 3-wire serial I/O mode is used for connecting peripheral ICs and display controllers with a clocked serial
In this mode, communication is executed by using three lines: the serial clock (SCK1n), serial output (SO1n), and
• Serial operation mode register 1n (CSIM1n)
• Serial clock selection register 1n (CSIC1n)
• Port mode register 0 (PM0) or port mode register 1 (PM1)
• Port register 0 (P0) or port register 1 (P1)
The basic procedure of setting an operation in the 3-wire serial I/O mode is as follows.
<1> Set the CSIC1n register (see Figures 16-5 and 16-6).
<2> Set bits 0 and 4 to 6 (CSOT1n, DIR1n, SSE11 (serial interface CSI11 only), and TRMD1n) of the CSIM1n
<3> Set bit 7 (CSIE1n) of the CSIM1n register to 1. → Transmission/reception is enabled.
<4> Write data to transmit buffer register 1n (SOTB1n). → Data transmission/reception is started.
Caution Take relationship with the other party of communication when setting the port mode
Remark n = 0:
register (see Figures 16-3 and 16-4).
Read data from serial I/O shift register 1n (SIO1n). → Data reception is started.
register and port register.
n = 0, 1:
µ
µ
PD780143, 780144
PD780146, 780148, 78F0148
CHAPTER 16 SERIAL INTERFACES CSI10 AND CSI11
User’s Manual U15947EJ3V1UD
359

Related parts for upd78f0148m1gka1-9eu