Lin-Uart Serial Mode Register (Smr) - Fujitsu MB95630H Series Hardware Manual

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

Advertisement

CHAPTER 14 LIN-UART
14.7 Registers
14.7.2

LIN-UART Serial Mode Register (SMR)

The LIN-UART serial mode register (SMR) is used to select the operating mode,
specify the baud rate clock, and enable/disable output to the serial data and
clock pins.
■ Register Configuration
bit
7
Field
MD1
Attribute
R/W
Initial value
0
■ Register Functions
[bit7:6] MD[1:0]: Operating mode select bits
These bits select the operating mode.
bit7:6
Writing "00"
Writing "01"
Writing "10"
Writing "11"
Note: When the mode is changed during communication, exchanging on the LIN-UART is suspended and
the LIN-UART waits for the start of the next communication.
[bit5] OTO: One-to-one external clock input enable bit
This bit enables using the external clock directly as the LIN-UART serial clock.
In operating mode 2 (asynchronous), the external clock is used when the reception side of the serial clock is
selected (ECCR:MS = 1).
When the EXT bit in the SMR register is "0", the OTO bit is fixed at "0".
bit5
Writing "0"
Writing "1"
[bit4] EXT: External serial clock source select bit
This bit selects the clock input.
bit4
Writing "0"
Writing "1"
[bit3] REST: Reload counter restart bit
This bit restarts the reload counter.
bit3
Read access
Writing "0"
Writing "1"
246
6
5
MD0
OTO
R/W
R/W
0
0
Operating mode
0
Asynchronous (Normal mode)
1
Asynchronous (Multiprocessor mode)
2
Synchronous (Normal mode)
3
Asynchronous (LIN mode)
The baud rate generator (reload counter) is used as the LIN-UART serial clock.
The external clock is used directly as the LIN-UART serial clock.
Selects the clock of the baud rate generator (reload counter).
Selects the external serial clock source.
The read value is always "0".
Has no effect on operation.
Restarts the reload counter.
FUJITSU SEMICONDUCTOR LIMITED
4
3
EXT
REST
R/W
R/W
0
0
Details
Details
Details
Details
MB95630H Series
2
1
UPCL
SCKE
R/W
R/W
0
0
MN702-00009-1v0-E
0
SOE
R/W
0

Advertisement

Table of Contents
loading

Table of Contents