English
Language : 

M16C6N4 Datasheet, PDF (210/406 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6N4)
15. Serial Interface
15.2.3 Functions for Setting an SOUT3 Initial Value
If the SM36 bit in the S3C register = 0 (external clock), the SOUT3 pin output can be fixed high or low
when not transferring. Figure 15.40 shows the timing chart for setting an SOUT3 initial value and how to
set it.
(Example) When "H" selected for SOUT3 initial value
Signal written to
S3TRR register
SM37 bit
SM33 bit
SOUT3 (internal)
Setting of the initial value of SOUT3
output and starting of
transmission/reception
Set the SM33 bit to "0"
(SOUT3 pin functions as an I/O port)
Set the SM37 bit to "1"
D0
(SOUT3 initial value = H)
SOUT3 output
Port output
D0
Initial value = H (1)
Setting the SOUT3 Port selection switching
initial value to "H" (2) (I/O port SOUT3)
* This diagram applies to the case where the bits in the S3C register are set as follows:
SM32 = 0 (SOUTi output)
SM35 = 0 (LSB first)
SM36 = 0 (external clock)
NOTES:
1.If the SM36 bit = 1 (internal clock) or if the SM32 bit = 1 (SOUT3 output disabled), this output
goes to the high-impedance state.
2.SOUT3 can only be initialized when input on the CLK3 pin is in the high state if the SM34 bit in
the S3C register = 0 (transmit data output at the falling edge of the transfer clock) or in the low
state if the SM34 bit = 1 (transmit data output at the rising edge of the transfer clock).
Set the SM33 bit to "1"
(SOUT3 pin functions as SOUT3 output)
"H" level is output
from the SOUT3 pin
Write to the S3TRR register
Serial transmit/reception starts
Figure 15.40 SOUT3’s Initial Value Setting
Rev.2.30 Oct 24, 2005 page 192 of 376
REJ09B0009-0230