EasyManuals Logo

Renesas RL78/G13 User Manual

Renesas RL78/G13
1092 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #702 background imageLoading...
Page #702 background image
RL78/G13 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0146EJ0100 Rev.1.00 683
Sep 22, 2011
(2) Operation procedure
Figure 12-106. Initial Setting Procedure for Address Field Transmission
Starting initial setting
Setting the PER0 register
Setting the SPSm register
Setting the SMRmn register
Setting the SCRmn register
Setting the SDRmn register
Setting the SOm register
Setting port
Setting the SOm register
Starting communication
Release the serial array unit from the
reset status and start clock supply.
Set the operation clock.
Set an operation mode, etc.
Set a communication format.
Set a transfer baud rate (setting the
transfer clock by dividing the operation
clock
(
fMCK
))
.
Set the initial output level of the serial data
(SOmn) and serial clock (CKOmn).
Enable data output, clock output, and N-ch
open-drain output (V
DD tolerance) mode of the
target channel by setting the port register, port
mode register, and port output mode register.
Clear the SOmn bit to 0 to generate the
start condition.
Set address and R/W to the SIOr register
(bits 7 to 0 of the SDRmn register) and
start communication.
Writing to the SSm register
Set the SSmn bit of the target channel to 1 and set
the SEmn bit to 1 (to enable operation).
Setting the SOm register
Clear the CKOmn bit to 0 to lower the
clock output level.
Changing setting of the SOEm
register
Set the SOEmn bit to 1 and enable data
out
p
ut of the tar
g
et channel.
Secure a wait time so that the specifications of
I
2
C on the slave side are satisfied.
Wait

Table of Contents

Other manuals for Renesas RL78/G13

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G13 and is the answer not in the manual?

Renesas RL78/G13 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G13
CategoryComputer Hardware
LanguageEnglish

Related product manuals