11.07.2015 Views

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 9 SERIAL INTERFACE 209.3 Control Registers of Serial Interface 20Serial interface 20 is controlled by the following six registers.• Serial operation mode register 20 (CSIM20)• Asynchronous serial interface mode register 20 (ASIM20)• Asynchronous serial interface status register 20 (ASIS20)• Baud rate generator control register 20 (BRGC20)• Port mode register 2 (PM2)• Port 2 (P2)(1) Serial operation mode register 20 (CSIM20)CSIM20 is set when serial interface 20 is used in 3-wire serial I/O mode.CSIM20 is set with a 1-bit or 8-bit memory manipulation instruction.RESET input clears CSIM20 to 00H.Figure 9-3. Format of Serial Operation Mode Register 20Symbol 6 5 4 3 2 1 0 Address After reset R/WCSIM20CSIE20 SSE20 0 0 DAP20 DIR20 CSCK20 CKP20FF72H 00H R/WCSIE203-wire serial I/O mode operation control0Operation disabled1Operation enabledSSE20SS20 pin selectionFunction of SS20/P23 pinCommunication status0Not usedPort functionCommunication enabled1Used0Communication enabled1Communication disabledDAP2001Outputs at the falling edge of SCK20.Outputs at the rising edge of SCK20.3-wire serial I/O mode data phase selectionDIR2001MSBLSBFirst-bit specificationCSCK2001External clock input to the SCK20 pinOutput of the dedicated baud rate generator3-wire serial I/O mode clock selectionCKP20013-wire serial I/O mode clock phase selectionClock is active low, and SCK20 is at high level in the idle state.Clock is active high, and SCK20 is at low level in the idle state.Cautions 1. <strong>Bit</strong>s 4 and 5 must both be set to 0.2. CSIM20 must be cleared to 00H, if UART mode is selected.User’s Manual U14801EJ3V1<strong>UD</strong> 119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!