Nordic DevZone
Search
User
Site
Search
User
Nordic Q&A
Guides
Blog
Online Power Profiler
DevAcademy
Home
>
Nordic Q&A
State
Verified Answer
Locked
Locked
Replies
5 replies
Subscribers
63 subscribers
Views
12014 views
Users
0 members are here
Attachments (
0
)
Nordic Case Info
Case ID: 100390
Options
Share
More
Cancel
This post is older than 2 years and might not be relevant anymore
More Info:
Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
UART BAUDRATE register values
Bengt Florin
over 10 years ago
What is the formula for calculation of values for the UART BAUDRATE register from bit rates?
Top Replies
Håkon Alseth
over 10 years ago
+2
verified
Hi Bengt, note : this formula is simplified and may differ from the actual baudrate measurement The formula is: Baudrate = desired baudrate * 2^32 / 16000000 Example: Baudrate of 31250 should…
Bengt Florin
over 10 years ago
in reply to
Håkon Alseth
+1
BTW, why the heavy rounding? 'nrf51_bitfields.h' have a value for 921600bps that is 0x0EBEDFA4UL. By rounding this gets 0x0EBEE000. Does this imply the the baud rate counter is not 32-bit but mere 20-bit…
Håkon Alseth
over 10 years ago
in reply to
Håkon Alseth
+1
Hi Bengt, That specific value got me a bit puzzled. I had a quick chat with a HW-designer, and he assured me that the baudrate generator for the UART is actually 20 bits, so rounding procedure is required…
Related