⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
kqtrinh
Offline
Last seen:3 years 10 months ago
Joined:2016-08-24 00:17
UART higher baudrate

Hi,

the higher baudrate support in the uart.h are commented out as of SDK 5.04 as below:

/// Divider for 921600 bits/s
//#define UART_BAUDRATE_921K6 tbd
/// Divider for 460800 bits/s
//#define UART_BAUDRATE_460K8 tbd
/// Divider for 230400 bits/s
//#define UART_BAUDRATE_230K4 tbd2

如果我想使用任何这些更高的波特率,is it possible?

Thanks,
--Khai

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi kqtrinh,

Hi kqtrinh,

No, actually you can try to produce those kind of baud rates but the error of the baudrate produced in those rates is more than the 5% that is defined by the spec. But you can try to boost up the baudrate in 1M baudrate which should have the minimum error due to the crystal drift and not because the divisor.

You can set the baudrate to 1M by just setting the divider to 1 instead of 9 which is the divider for the 115200 baudrate.

Thanks MT_dialog

jowen
Offline
Last seen:3 years 10 months ago
Joined:2017-06-01 15:21
What are the baud rates and

What are the baud rates and errors for each baud rate that can be used? We are also interested in 921600.

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
Joined:2015-06-08 11:34
Hi jowen,

Hi jowen,

You will be able to find the baud rates and the errors of each rate in the uart.h file, 921600, i dont think that you will be able to establish communication since the error of the configuration will result in a value that is over 5% (as far i can remember) of the error tollerance of the UART specification.

Thanks MT_dialog