16.10.7 Sci Operations During Mode Transitions; Figure 16.38 Sample Transmission Using Dtc In Clocked Synchronous Mode - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

SCK
TDRE
Serial data
Note: When external clock is supplied, t must be more than four clock cycles.

Figure 16.38 Sample Transmission using DTC in Clocked Synchronous Mode

16.10.7 SCI Operations during Mode Transitions

Transmission: Before making the 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 the 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 16.39 shows a sample flowchart for mode transition during transmission. Figures 16.40 and
16.41 show the pin states during transmission.
Before making the 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.
Reception: Before making the transition to module stop, software standby, watch, sub-active, or
sub-sleep mode, stop reception (RE = 0). RSR, RDR, and SSR are reset. If transition is made
during data reception, the data being received will be invalid.
To receive data in the same reception mode after mode cancellation, set RE to 1, and then start
reception. To receive data in a different reception mode, initialize the SCI first.
Figure 16.42 shows a sample flowchart for mode transition during reception.
Section 16 Serial Communication Interface (SCI, IrDA, and CRC)
t
LSB
D0
D1
D2
D3
D4
D5
D6
Rev. 3.00 Jan 25, 2006 page 463 of 872
D7
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents