
307
CHAPTER 15 UART
The following describes the function of each block.
❍
Clock selector
The clock selector selects the send and receive clocks from the dedicated baud-rate generator,
external input clock, and internal clock (clock supplied from the 16-bit reload timer).
❍
Receive control circuit
The receive control circuit consists of the receive-bit counter, start-bit detection circuit, and
receive-parity counter. The receive-bit counter counts receive data and, after reception of one
data unit is completed, generates a receive-interrupt request in accordance with the set-data
length. The start-bit detection circuit detects a start bit in the serial-input signal and, if a start bit
is detected, writes data to the SIDR0-3 register while shifting in accordance with the specified
transfer speed. The receive-parity counter calculates the parity of receive data.
❍
Send-control circuit
The send-control circuit consists of the send-bit counter, send-start circuit, and send-parity
counter. The send-bit counter counts send data and, when sending of one data unit is
completed, generates a send-interrupt request in accordance with the set data length. The
send-start circuit starts a send operation when SODR0-3 is written. The send-parity counter
calculates the parity of send data when parity is enabled.
❍
Receive-shift register
The receive-shift register fetches the receive data, which is input from the SIN pins, while
shifting the data in steps of one bit. When reception terminates, the receive data is transferred
from the receive-shift register to the SIDR0-3 register.
❍
Send-shift register
The send-shift register transfers the data written in SODR0-3 to the send-shift register and
outputs the data to the SOT pins while shifting the data in steps of one bit.
❍
Mode register 1 (SMR0-3)
This register selects the operation mode, selects the clock-input source, sets the dedicated
baud-rate generator, and selects the clock rate (clock divide-by value) for using the dedicated
baud-rate generator. It also sets serial data output to pin enabled or disabled, and sets clock
output to pin enabled or disabled.
❍
Control register 1 (SCR0-3)
This register sets parity to enabled or disabled, selects the parity, sets the stop-bit length, sets
the data length, selects the frame data format in mode 1, and clears the flag. It also sets
sending to enabled or disabled, and sets receiving to enabled or disabled.
❍
Status register 1 (SSR0-3)
This register checks the send, receive and error statuses, and sets send- and receive-interrupt
request enabled/disabled.
❍
Input-data register 1 (SIDR0-3)
This register retains the receive data. Serial input is converted and stored in this register.
❍
Output-data register 1 (SODR0-3)
This register sets the send data. The data written in this register undergoes parallel-to-serial
conversion and is output.
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......