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,
Does the customer use Processor SDK Linux or MCU+ SDK? Which version?
Use Linux SDK 8.4
Tony,
Thanks. I will try to reproduce it next week and get back to you.
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>;
Bin,
Thanks, So the reason is MCU UART module clock is 96MHz other than 48MHz?
Tony,
Yes it seems the SYSFW configures MCU UARTs in 96MHz. I am working with the sw dev team to resolve the issue properly.