
333
CHAPTER 15 UART
15.8.3 Baud Rate Based on the External clock
This section shows the settings and equations for calculating the baud rate when the
external clock is selected as the UART transfer clock.
■
Baud rate based on the external clock
The following three settings are necessary for selecting the baud rate based on the external
clock.
•
Set the SCKE bit of the mode register (SMR0-3) to 0 and set the pins as the external clock-
input pins.
•
Set the bits CS2 to CS0 of the mode register (SMR0-3) to 111
B
and select the baud rate
based on the external clock.
The baud rate is selected based on the external clock input from the SCK0 to SCK3 pins as
shown in Figure 15.8-3 "Circuit for baud rate selection based on the external clock". To change
the baud rate, the cycle of the external input clock must be changed because the internal
division ratio is fixed.
Figure 15.8-3 Circuit for baud rate selection based on the external clock
❍
Equation for baud-rate calculation
Asynchronous baud rate = f/16
Synchronous baud rate = f
f: External clock frequency
(The maximum of f is [frequency of peripheral operation clock]/8. With a frequency of the
peripheral operation clock of 31.9488 MHz, the maximum of f is 3.9936 MHz.)
SCK0-3
Pins
SMR0-3: CS2/1/0=111
(Internal timer selection)
Clock selector
Baud rate
SMR0-3: MD1
(Clock synchronous/asynchronous selection)
1/1 (synchronous)
1/16 (asynchronous)
B
Содержание MB91150 Series
Страница 1: ......
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Страница 174: ...158 CHAPTER 5 I O PORTS Note DDRI bit 6 is a test bit Always set the bit to 0 The value read from this bit is always 0 ...
Страница 178: ...162 CHAPTER 5 I O PORTS ...
Страница 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Страница 240: ...224 CHAPTER 8 PPG TIMER ...
Страница 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Страница 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Страница 362: ...346 CHAPTER 15 UART ...
Страница 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Страница 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Страница 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 510: ...494 INDEX ...
Страница 512: ......