Customer found the MCU UART baud rate is 2x as configured. for example set to 115200bps. on the PC side, need to set to 230400bps to communicate.
same setting to main domain UART, the baud rate is right.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Customer found the MCU UART baud rate is 2x as configured. for example set to 115200bps. on the PC side, need to set to 230400bps to communicate.
same setting to main domain UART, the baud rate is right.
Hi Tony,
The following kernel will solve the issue:
diff --git a/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi index 09a668af9fd3..5e98f6035436 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi @@ -12,7 +12,6 @@ reg-shift = <2>; reg-io-width = <4>; interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>; - clock-frequency = <48000000>; current-speed = <115200>; power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 149 0>; @@ -25,7 +24,6 @@ reg-shift = <2>; reg-io-width = <4>; interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>; - clock-frequency = <48000000>; current-speed = <115200>; power-domains = <&k3_pds 160 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 160 0>;