Fujitsu MB95630H Series Hardware Manual page 492

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

CHAPTER 22 UART/SIO
22.6 Operations and Setting Procedure Example
● Reception in UART/SIO operation mode 1
For reception in operation mode 1, each register is used as shown below.
Figure 22.6-11 Registers Used for Reception in Operation Mode 1
SMC1n (UART/SIO serial mode control register 1)
SMC2n (UART/SIO serial mode control register 2)
SSRn (UART/SIO serial status and data register)
TDRn (UART/SIO serial output data register)
RDRn (UART/SIO serial input data register)
: Used bit
× : Unused bit
1 : Set to "1"
0 : Set to "0"
The reception depends on whether the serial clock has been set to external or internal clock.
<When external clock is enabled>
When the reception operation enable bit (RXE) contains "1", serial data is received always at
the rising edge of the external clock signal.
<When internal clock is enabled>
The serial clock signal is output in accordance with transmission. Therefore, transmission
must be performed even when only performing reception. The following two procedures can
be used.
Set the transmission operation enable bit (TXE) to "1", then write transmit data to the
UART/SIO serial output data register to generate the serial clock signal and start reception.
Write transmit data to the TDRn register, then set the TXE bit to "1" to generate the serial
clock signal and start reception.
472
bit7
bit6
bit5
BDS
PEN
TDP
×
×
bit7
bit6
bit5
SCKE
TXOE
RERC
0
bit7
bit6
bit5
-
-
PER
×
×
×
bit7
bit6
bit5
TD7
TD6
TD5
×
×
×
bit7
bit6
bit5
RD7
RD6
RD5
FUJITSU SEMICONDUCTOR LIMITED
MB95630H Series
bit4
bit3
bit2
SBL
CBL1
CBL0
×
bit4
bit3
bit2
RXE
TXE
RIE
bit4
bit3
bit2
OVE
FER
RDRF
×
bit4
bit3
bit2
TD4
TD3
TD2
×
×
×
bit4
bit3
bit2
RD4
RD3
RD2
bit1
bit0
CKS
MD
1
bit1
bit0
TCIE
TEIE
×
×
bit1
bit0
TCPL
TDRE
×
×
bit1
bit0
TD1
TD0
×
×
bit1
bit0
RD1
RD0
MN702-00009-1v0-E

Advertisement

Table of Contents
loading

Table of Contents