I'm little confused about the baud rate calculating equation of LPC2148
In data sheet equation is
But in every tutorial I could find
Second equation sets the baud rate as required.
Am I missing something?
Tutorials that I checked
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
The only thing that makes sense is that the equation in the datasheet has an error.
That same datasheet says:
The U0DLL and U0DLM registers together form a 16 bit divisor where U0DLL contains the lower 8 bits of the divisor and U0DLM contains the higher 8 bits of the divisor
That suggests it should be
256*DLM+DLL as written in tutorials. In example tables below, it's also treated as 16-bits altogether (upper 8 + lower 8).
Note that April 2012 version of datasheet  contains the corrected equation.