Chapter 20 serial interface channel 2, 1 serial interface channel 2 functions – NEC uPD78P078 User Manual

Page 457

Advertising
background image

457

CHAPTER 20 SERIAL INTERFACE CHANNEL 2

20.1 Serial Interface Channel 2 Functions

Serial interface channel 2 has the following three modes.

• Operation stop mode

• Asynchronous serial interface (UART) mode

• 3-wire serial I/O mode

(1) Operation stop mode

This mode is used when serial transfer is not carried out to reduce power consumption.

(2) Asynchronous serial interface (UART) mode

In this mode, one byte of data is transmitted/received following the start bit, and full-duplex operation is

possible.

A dedicated UART baud rate generator is incorporated, allowing communication over a wide range of baud

rates. In addition, the baud rate can be defined by scaling the input clock to the ASCK pin.

The MIDI standard baud rate (31.25 kbps) can be used by employing the dedicated UART baud rate

generator.

(3) 3-wire serial I/O mode (MSB-first/LSB-first switchable)

In this mode, 8-bit data transfer is performed using three lines: the serial clock (SCK2), and serial data lines

(SI2, SO2).

In the 3-wire serial I/O mode, simultaneous transmission and reception is possible, increasing the data

transfer processing speed.

Either the MSB or LSB can be specified as the start bit for an 8-bit data serial transfer, allowing connection

to devices using either as the start bit.

The 3-wire serial I/O mode is useful for connection to peripheral I/Os and display controllers, etc., which

incorporate a conventional synchronous clocked serial interface, such as the 75X/XL Series, 78K Series,

17K Series, etc.

Advertising
This manual is related to the following products: