Fujitsu MB90895 Series Hardware Manual page 486

16 bit, controller manual
Table of Contents

Advertisement

CHAPTER 15 UART1
11: TDRE = 0) in the serial output data register (SODR1). Also, before and after transmitting, always
return to the mark level (High level).
G
Error detection
Only overrun errors can be detected.Parity and framing errors cannot be detected.
G
Setting of register
shows the setting of the control register in transmitting serial data from the transmitting end to the
receiving end using the clock synchronous mode (operation mode 2).
Table 15.6-2 Setting of Control Register
Register Name
bit name
Serial mode register 1
MD1,
(SMR1)
MD0
CS2, CS1,
CS0
SCKE
SOE
Serial control register
PEN
1 (SCR1)
CL
REC
TXE
RXE
Serial status register 1
TIE
(SSR1)
RIE
G
Starting communications
When send data is written to the serial output data register 1 (SODR1), communication starts. When
starting communication only in receiving, it is always necessary to write dummy send data to the serial
output data register 1 (SODR1).
G
Terminating communications
Upon completion of transmission/reception of one frame of data, the receive data load flag bit (bit 12 in the
SSR1 register: RDRF) is set to 1.When data is received, check the overrun error flag bit (SSR1 register bit
14: ORE) to ensure that the communication has performed normally.
468
Transmit End (output serial clock)
Set clock synchronous mode (MD1, MD0 = "10
Set clock input source.
• Dedicated baud rate generator (CS2 to
"
"
CS0 = "000
to "100
)
B
B
• Internal timer (CS2 to CS0 = "110
Set serial clock output (SCKE = 1).
Set serial data output pin (SOE = 1).
Do not add parity bit (PEN = 0).
8-bit data length (CL = 1)
Initialize error flag (REC = 0).
Enable transmitting (TXE = 1).
Disable receiving (RXE = 0).
Enable transmitting (TIE = 1)
Disable receiving (RIE = 0).
Setting
Receive End (input serial clock)
"
).
B
Set clock input source.
• External clock
(CS2 to CS0 = "111
"
)
B
Set serial clock input (SCKE = 0).
Set general-purpose I/O port (SOE =
0).
Disable transmitting (TXE = 0).
Enable receiving (RXE = 1).
Disable transmitting (TIE = 0)
Enable receiving (RIE = 1).
")
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents