UART Baud rate 1200 support

⚠️
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.
3 posts / 0 new
Last post
wisilica
Offline
Last seen:10 months 1 week ago
加入:2015-03-17 08:16
UART Baud rate 1200 support

Hi,

I would like to know if baud rate of 1200 is supported by DA14580 chipset. If so, what are the changes I need to make for this support ?

Thanks

Device:
PM_Dialog
Offline
Last seen:2 days 19 hours ago
工作人员
加入:2018-02-08 11:03
Hi wisilica

Hi wisilica

Yes, you are able to define 1200 baud rate. In the SKD the 1200 baud rate is not define, but you can define it by you own. Please, add the following code into uart.h.

/// Divider for 1200 bits/s
#define UART_BAUDRATE_1K2 833 // = 16000000 / (16 * 1200), actual baud rate = 1200.48, error = -0,04%
#define UART_BAUDRATE UART_BAUDRATE_1K2

Thanks, PM_Dialog

wisilica
Offline
Last seen:10 months 1 week ago
加入:2015-03-17 08:16
Thank you! Wisilica

Thank you!

Wisilica