-->
Page 1 of 1

uart_init vs uart_div_modify

PostPosted: Sat Dec 27, 2014 10:31 am
by vpillai
When I try to to change the baud rate of the iot_demo program to 115200 using
Code: Select alluart_init(BIT_RATE_115200)
, it is not working. However, directly doing
Code: Select alluart_div_modify(0, UART_CLK_FREQ / 115200);
(which is actually done in
Code: Select alluart_init()
) works fine.

Does anyone have any idea why this is is happening? and, is it OK to use
Code: Select alluart_div_modify
directly?