UART BAUDRATE
Re: UART BAUDRATE
Postby ESP_Faye » Sun Feb 15, 2015 10:26 am
Hi,
Thanks for your interest in ESP8266 !
Please refer to this http://bbs.espressif.com/viewtopic.php?f=10&t=182
Thanks for your interest in ESP8266 !
Please refer to this http://bbs.espressif.com/viewtopic.php?f=10&t=182
Re: UART BAUDRATE
Postby piotrva » Sun Feb 15, 2015 9:24 pm
Thanks for info - i tried using this function and modifying uart_init as you mentioned in the post - but still sf is not ok at all:
Both os_printf are sent using default BaudRate 74880.
Then messages about opmode is sent using 115200.
Code: Select all
void user_init(void)
{
uart_init(BIT_RATE_115200,BIT_RATE_115200);
os_printf("SDK version:%s\n", system_get_sdk_version());
os_printf("Module Test\nChip_id: %lu\n", system_get_chip_id());
wifi_set_opmode(STATIONAP_MODE);//STA + AP (page 25)
//(...)
}Both os_printf are sent using default BaudRate 74880.
Then messages about opmode is sent using 115200.
Re: UART BAUDRATE
Postby RogerFL » Mon Jan 01, 2018 12:00 am
I fixed this issue by adding a 1 ms delay after initializing UART:
Code: Select all
uart_init(115200, 115200);
os_delay_us(1000);
Roger Collins
Espressif fan and developer of flame boss smoker controller
Espressif fan and developer of flame boss smoker controller
Who is online
Users browsing this forum: No registered users and 119 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.