
331
CHAPTER 15 UART
15.8.2 Baud Rate Based on the Internal Timer (16-bit Reload
Timer 0)
This section shows the settings and equations for calculating the baud rate when the
internal clock from 16-bit reload timer 0 is selected as the UART transfer clock.
■
Baud rate based on the internal timer (16-bit reload timer)
When the bits CS2 to CS0 of the mode register (SMR0-3) are set to 110
B
, the baud rate is
selected based on the internal timer. Any baud rate can be set through selection of the
prescaler division ratio and reload value of the 16-bit reload timer. Figure 15.8-2 "Baud-rate
selection circuit based on the internal timer (16-bit reload timer)" shows the baud-rate selection
circuit based on the internal timer.
Figure 15.8-2 Baud-rate selection circuit based on the internal timer (16-bit reload timer)
❍
Equation for baud-rate calculation
SMR0-3: CS2/1/0=110
(Internal timer selection)
Clock selector
Baud rate
SMR0-3: MD1
(Clock synchronous/asynchronous selection)
1/1 (synchronous)
1/16 (asynchronous)
6-bit reload timer 0 output
frequency specified in
ccordance with the
rescaler divide-by value
nd reload value)
B
Asynchronous baud rate =
bps
X (n+1) 2 16
X (n+1) 2
Synchronous baud rate =
bps
: Machine clock frequency
X: Division ratio based on the prescaler of the 16-bit reload timer 0 (2
1
, 2
3
, 2
5
)
n: Reload value of the 16-bit reload timer 0 (0-65, 535)
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: ......