Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[ARM] Factor 256 while calculating Baudrate

Status
Not open for further replies.

VKT

Newbie level 1
Joined
May 2, 2016
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
8
BaudRate = PCLK in Hertz/(16 x (256xDLM + DLL) x (1 + DIVADDVAL/MULVAL))

Formula contain the factor 256 but it is not used while calculating U0DLM:U0DLL

consider we want baudrate 9600 with PCLK 20MHz , MULVAL=1, DIVADDVAL=0.


Now according to formula given above DLL:DLM is 0.3633
and if factor 256 is not considered then DLL:DLM is 130.208, and this is correct value from Datasheet.

My question is whether to use or not use that factor? And if it used then when to use?
 

Hi,

how can we know?
It seems you have the formula from somewhere. But where is it from? Isn´t there a description?

We don´t know what microcontroller or tool you use...

Impossible to help.

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top