Operation Of Serial Interface Special Function (Transmission In Master Mode Without Delay) - Renesas M16C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group
2.5.2 Operation of Serial Interface Special Function (transmission in master mode
without delay)
In transmitting data in serial interface special function master mode, choose functions from those listed in
Table 2.5.1. Operations of the circled items are described below. Figure 2.5.8 shows the operation timing,
and Figures 2.5.9 and 2.5.10 show the set-up procedures.
www.DataSheet4U.com
Operation
Note
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Table 2.5.1. Choosed functions
Item
Item
Transfer clock
O
Internal clock (f
source
External clock (CLKi pin)
Output transmission data at
CLK polarity
O
the falling edge of the
transfer clock
Output transmission data at
the rising edge of the
transfer clock
O
Transmission buffer empty
Transmission
interrupt factor
Transmission complete
____
(1) Set an SS port of the receiver side IC to output "L" level.
(2) Setting the transmit enable bit to "1" and writing transmission data to the UARTi transmit
buffer register makes data transmissible status ready.
(3) In synchronization with the first falling edge of the transfer clock, transmission data held in the
UARTi transmit buffer register is transmitted to the UARTi transmit register. At this time, the
UARTi transmit interrupt request bit goes to "1". Also, the first bit of the transmission data is
transmitted from the TxDi pin. Then the data is transmitted bit by bit from the lower order in
synchronization with the falling edges.
(4) When transmission of 1-byte data is completed, the transmit register empty flag goes to "1",
which indicates that transmission is completed. The transfer clock stops at "L" level.
(5) If the next transmission data is set in the UARTi transmit buffer register while transmission is
in progress (before the eighth bit has been transmitted), the data is transmitted in succession.
_____
• Set SSi pin to "H" level. If "L" level is input to the pin, a fault error will be generated.
page 94 of 354
Set-up
Item
/ f
/ f
)
1
8
32
SSi port function
enable
Clock phase set
Serial input port set
2. Serial Interface Special Function
Set-up
SSi function disabled
O
SSi function enabled
Without clock delay
O
With clock delay
T
Di, R
Di selected
X
X
O
(master mode)
ST
Di, SR
Di selected
X
X
(slave mode)

Advertisement

Table of Contents
loading

Table of Contents