EasyManua.ls Logo

Renesas RL78/G10

Renesas RL78/G10
637 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 383
Dec 22, 2016
12.6.3 Calculating baud rate
(1) Baud rate calculation expression
The baud rate for UART (UART0) communication can be calculated by the following expressions.
(Baud rate) = {Operation clock (fMCK) frequency of target channel} ÷ (SDR0nH[7:1] + 1) ÷ 2 [bps]
Caution Setting serial data register 0n (SDR0nH) SDR0nH[7:1] = (0000000B, 0000001B) is prohibited.
Remarks 1. When UART is used, the value of SDR0nH[7:1] is the value of bits 7 to 1 of the SDR0nH register
(0000010B to 1111111B) and therefore is 2 to 127.
2. n = 0, 1
The operation clock (f
MCK) is determined by serial clock select register 0 (SPS0) and bit 15 (CKS0n) of serial mode
register 0n (SMR0n).

Table of Contents

Related product manuals