Table 6.12.5-4 Baud Rate Compensation Example Table 1; Table 6.12.5-5 Baud Rate Compensation Example Table 2 - Nuvoton ISD94124BYI Technical Reference Manual

Isd arm cortex-m4f soc
Table of Contents

Advertisement

if the baud divider is set 1 (3 peripheral clock/bit), the inaccuracy of each bit is -0.413 peripheral
clock and BRCOMPDEC =0,
Bit
Name
Start
1
UART_DAT[0]
2
UART_DAT[1]
3
UART_DAT[2]
4
UART_DAT[3]
5
UART_DAT[4]
6
UART_DAT[5]
7
UART_DAT[6]
8
UART_DAT[7]
9
Parity

Table 6.12.5-4 Baud Rate Compensation Example Table 1

So that the BRCOMP (UART_BRCOMP[8:0]) can be set as 9'b010100101 = 0xa5.
(2). UART's peripheral clock = 32.768K and baud rate is 4800
Baud rate is 4800, UART peripheral clock is 32.768K  6.827 peripheral clock/bit
if the baud divider is set 5 (7 peripheral clock/bit), the inaccuracy of each bit is 0.173 peripheral
clock and BRCOMPDEC =1,
Bit
Name
Start
1
UART_DAT[0]
2
UART_DAT[1]
3
UART_DAT[2]
4
UART_DAT[3]
5
UART_DAT[4]
6
UART_DAT[5]
7
UART_DAT[6]
8
UART_DAT[7]
9
Parity

Table 6.12.5-5 Baud Rate Compensation Example Table 2

So that the BRCOMP (UART_BRCOMP[8:0]) can be set as 9'b010000010 = 0x82.
Sep 9, 2019
ISD94100 Series Technical Reference Manual
Total INACCURACY
-0.413
X
-0.826(-0.413-0.413)
1
-0.239(0.174-0.413)
0
-0.652(-0.239-0.413)
1
-0.065(0.348-0.413)
0
-0.478(-0.065-0.413)
0
-0.891(-0.478-0.413)
1
-0.304(0.109-0.413)
0
-0.717(-0.304-0.413)
1
-0.130(0.283-0.413)
0
Total INACCURACY
BRCOMP Compensated
0.173
x
0.346(0.173+0.173)
0
0.519(0.346+0.173)
1
-0.308(-0.481+0.173)
0
-0.135(-0.308+0.173)
0
-0.038(-0.135+0.173)
0
0.211(0.038+0.173)
0
0.384(0.211+0.173)
0
0.557(0.384+0.173)
1
-0.270(-0.443+0.173)
0
Page 573 of 928
BRCOMP Compensated
-0.413
0.174
-0.239
0.348
-0.065
-0.478
0.109
-0.304
0.283
-0.13
Final Inaccuracy
0.173
0.346
-0.481
-0.308
-0.135
0.038
0.211
0.384
-0.443
-0.270
Final Inaccuracy
Rev1.09

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents