CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U12688EJ4V0UM00
311
(1) Dedicated baud rate generators 0 to 2 (BRG0 to BRG2)
Dedicated baud rate generator BRGn (n = 0 to 2) consists of a dedicated 8-bit timer (TMBRGn) which
generates the transmission/reception shift clock plus a compare register (BRGCn) and prescaler.
(a) Input clock
Internal system clock (
φ
) is input to the BRGn.
(b) Value set to BRGn
(i)
UART0, UART1
When the dedicated baud rate generator is specified as the serial source clock with the UART0,
UART1, a sampling rate of
×
16 is used, and therefore the baud rate is given by the following
expression.
]
bps
[
2
16
2
j
2
rate
Baud
k
×
×
×
×
=
φ
φ
Internal system clock frequency [Hz]
j: Timer count value = BRGCn register setting value (1
≤
j
≤
256
Note
)
k: Prescaler setting value = BPRMn register setting value (k = 0, 1, 2, 3, 4)
Note The j = 256 setting results in writing 0 to the BRGCn register.
(ii) CSI0 to CSI3
If BRG0 to BRG2 are specified as the serial clock source in CSI0 to CSI3, the actual baud rate is
expressed by the following formula.
]
bps
[
2
2
j
2
rate
Baud
k
×
×
×
=
φ
φ
: Internal system clock frequency [Hz]
j: Timer count value = BRGCn register setting value (1
≤
j
≤
256
Note
)
k: Prescaler setting value = BPRMn register setting value (k = 0, 1, 2, 3, 4)
Note The j = 256 setting results in writing 0 to the BRGCn register.
BRGn setting values when representative clock frequencies are used are shown below.
Содержание V850E/MS1 UPD703100
Страница 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Страница 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Страница 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Страница 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Страница 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Страница 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Страница 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Страница 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Страница 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...
Страница 422: ...User s Manual U12688EJ4V0UM00 422 MEMO ...