VKT
Newbie level 1
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 DLLLM is 0.3633
and if factor 256 is not considered then DLLLM 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?
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 DLLLM is 0.3633
and if factor 256 is not considered then DLLLM 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?