uart_set_baudrate(UART_NUM_1,230400); vTaskDelay(100/portTICK_RATE_MS); uart_get_baudrate(UART_NUM_1,&baudrate); ESP_LOGI("MAIN","BAUD RATE 2: %d",baudrate); vTaskDelay(100/portTICK_RATE_MS); uart_set_baudrate(UART_NUM_1,460800); ...
This odd behavior may be due that the Baudrate is not supported in the current clock source, so the registers are not set correctly, please check the return value from the UART_Init API. Hope this helps, Regards, Aldo. 0件の賞賛 ...
uart_set_baudrate(UART_NUM_1, 230400); vTaskDelay(100 / portTICK_RATE_MS); uart_get_baudrate(UART_NUM_1, &baudrate); ESP_LOGI("MAIN", "BAUD RATE 2: %d", baudrate); vTaskDelay(100 / portTICK_RATE_MS); uart_set_baudrate(UART_NUM_1, 460800); vTaskDelay(100 / portTICK_RAT...
I have i.MX8MM EVK and using the MCUXpresso generated SDK for the M4 core. I have default clock tree where UART clock is 80 MHz.When I set baudrate 4000000 I get correct actual baudrate. But another for me interresting baudrate, 3636363, I get 8000000 ...
Hello, This odd behavior may be due that the Baudrate is not supported in the current clock source, so the registers are not set correctly, please check the return value from the UART_Init API. Hope this helps, Regards, Aldo. 0 Kudos Reply Post...
Hello, This odd behavior may be due that the Baudrate is not supported in the current clock source, so the registers are not set correctly, please check the return value from the UART_Init API. Hope this helps, Regards, Aldo. 0 Kudos Reply Post...