h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 461

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
15.9.6
When an external clock source is used as a synchronization clock, update TDR by the DTC or
RFU and wait for at least five clock cycles before allowing the transmit clock to be input. If the
transmit clock is input within four clock cycles after TDR modification, the SCI may malfunction
(figure 15.23).
When using the DTC to read RDR, be sure to set the receive end interrupt source (RXI) as a DTC
activation source.
15.9.7
Transmission: Before making a transition to module stop, software standby, or sub-sleep mode,
stop all transmit operations (TE = TIE = TEIE = 0). TSR, TDR, and SSR are reset. The states of
the output pins during each mode depend on the port settings, and the pins output a high-level
signal after mode cancellation. If a transition is made during data transmission, the data being
transmitted will be undefined.
To transmit data in the same transmission mode after mode cancellation, set TE to 1, read SSR,
write to TDR, clear TDRE in this order, and then start transmission. To transmit data in a different
transmission mode, initialize the SCI first.
Figure 15.24 shows a sample flowchart for mode transition during transmission. Figures 15.25 and
15.26 show the pin states during transmission.
Before making a transition from the transmission mode using DTC transfer to module stop,
software standby, or sub-sleep mode, stop all transmit operations (TE = TIE = TEIE = 0). Setting
TE and TIE to 1 after mode cancellation generates a TXI interrupt request to start transmission
using the DTC.
Figure 15.23 Example of Transmission Using DTC in Clocked Synchronous Mode
Restrictions on Using DTC
SCI Operations during Mode Transitions
SCK
TDRE
Serial data
Note: * When external clock is supplied, t must be more than four clock cycles.
t
LSB
D0
D1
Section 15 Serial Communication Interface (SCI and IrDA)
D2
D3
Rev. 3.00 Mar 21, 2006 page 407 of 788
D4
D5
D6
D7
REJ09B0300-0300

Related parts for h8s-2161b