在驱动的里面的 uart.c 里面的例程有错误!
536 行 uart_rx_intr_enable(UART0);
正确的应该是 关闭中断,这里反而是打开了中断!
//move data from uart fifo to rx buffer
void Uart_rx_buff_enq()
{
.......
if(pRxBuffer->Space >= UART_FIFO_LEN){
//os_printf("after rx enq buf enough\n\r");
uart_rx_intr_enable(UART0); //错误在这里
}
}
串口接收例程错误 NONOS_SDK-2.2.0
Who is online
Users browsing this forum: No registered users and 136 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.