uart_init vs uart_div_modify
Posted: Sat Dec 27, 2014 10:31 am
When I try to to change the baud rate of the iot_demo program to 115200 using
Does anyone have any idea why this is is happening? and, is it OK to use
Code: Select all
, it is not working. However, directly doing uart_init(BIT_RATE_115200)
Code: Select all
(which is actually done in uart_div_modify(0, UART_CLK_FREQ / 115200);
Code: Select all
) works fine. uart_init()
Does anyone have any idea why this is is happening? and, is it OK to use
Code: Select all
directly?uart_div_modify