EasyManuals Logo

Maxim Integrated MAX32665 User Manual

Maxim Integrated MAX32665
457 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
Page #262 background imageLoading...
Page #262 background image
MAX32665-MAX32668 User Guide
Maxim Integrated Page 262 of 457
Equation 12-1: UART Bit Rate Divisor Equation



󰇛󰇜

where,

f
UART_BIT_RATE_CLK
is the UART interface time base frequency. This frequency is either f
PCLK
or the 7.3728MHz clock.
Note: UARTn_BAUD0.clkdiv should be set to the lowest value that results in

to achieve the highest accuracy for
the target bit rate.
is a function that takes as input a real number and gives as output the greatest integer less than or
equal to x
Equation 12-2: Bit Rate Integer Calculation


Equation 12-3: Bit Rate Remainder Calculation

󰇛
 
󰇜

if (y > 3)

else

Example Baud Rate Calculation:

󰇛

󰇜





󰇛
󰇛󰇜

󰇜
Table 12-2: Example Baud Rate Calculation Results, Target Bit Rate = 1.8Mbps
UARTn_BAUD0.clkdiv
DIV
UARTn_BAUD0.ibaud
UARTn_BAUD1.dbaud
4
3.26
3
30
3
1.63
1
77
2
0.81
0
(Must be 1 or greater.
The value selected for
UARTn_BAUD0.clkdiv is
not valid)
1
0.41
0
(Must be 1 or greater.
The value selected for
UARTn_BAUD0.clkdiv is
not valid)
0
0.20
0
(Must be 1 or greater.
The value selected for
UARTn_BAUD0.clkdiv is
not valid)
Table 12-2, above, shows the resulting DIV for each of the UARTn_BAUD0.clkdiv field settings. With UARTn_BAUD0.clkdiv
set to 4 or3, the resulting DIV value is greater than 1. Setting UARTn_BAUD0.clkdiv to 3 will generate the most accurate

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Maxim Integrated MAX32665 and is the answer not in the manual?

Maxim Integrated MAX32665 Specifications

General IconGeneral
BrandMaxim Integrated
ModelMAX32665
CategoryMotherboard
LanguageEnglish