![SONIX SN32F107 Скачать руководство пользователя страница 123](http://html1.mh-extra.com/html/sonix/sn32f107/sn32f107_user-manual_1321507123.webp)
SN32F100 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 123
Version 1.9
12.5 BAUD RATE CALCULATION
The UART baud rate is calculated as:
UARTn_PCLK
UART
BAUDRATE
=
Oversampling x (256 x DLM + DLL) x (1 + DIVADDVAL / MULVAL)
Where UARTn_PCLK is the peripheral clock,
are the standard UART baud rate divider
registers, and DIVADDVAL and MULVAL are UART fractional baud rate generator specific parameters in
register.
The value of MULVAL and DIVADDVAL should comply with the following conditions:
1. 1
≤ MULVAL ≤ 15
2. 0
≤ DIVADDVAL ≤ 14
3. DIVADDVAL< MULVAL
4. Oversampling is 8 or 16
The value of the
register should not be modified while transmitting/receiving data or data may be lost or
corrupted.
The oversampling method can be selected by programming the OVER8 bit in
or 8 times the baud rate clock.
● OVER8=1: Oversampling by 8 to achieve higher speed (up to UARTn_PCLK/8). In this case the maximum receiver
tolerance to clock deviation is reduced.
RX
1
2
3
4
5
6
7
8
Sampled values
3 / 8
3 / 8
2 / 8
Sampling Clock
1-BIT TIME
● OVER8=0: Oversampling by 16 to increase the tolerance of the receiver to clock deviations. In this case, the
maximum speed is limited to maximum UARTn_PCLK/16
RX
1
3 4
Sampled values
7 / 16
7 / 16
6 / 16
Sampling Clock
1-BIT TIME
2
6 7
5
9 10
8
12 13
11
15 16
14
Содержание SN32F107
Страница 34: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 34 Version 1 9 0 Reserved R 0...
Страница 180: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 180 Version 1 9 20 2 LQFP 64 PIN...
Страница 181: ...SN32F100 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 181 Version 1 9 20 3 LQFP 80 PIN...