AM6548: WKUP UART0 Transmitting and Receiving at twice set Baud rate

Part Number: AM6548

Tool/software:

Hi,

I've added WKUP UART0 to the device tree in Linux, and set the baud rate to 9600 in Linux using stty -F /ttySn. When I use the third COM port to interact with the serial port, I need to set it at twice the baud rate (19200) to transmit and receive data correctly. What could be the cause of this issue?

  • Hi Akm,

    Please try the following kernel device tree patch to see if solves the issue.

    diff --git a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
    index fd2b998ebddc..1cd0580122d0 100644
    --- a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
    @@ -51,7 +51,6 @@ wkup_uart0: serial@42300000 {
                    compatible = "ti,am654-uart";
                    reg = <0x42300000 0x100>;
                    interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
    -               clock-frequency = <48000000>;
                    current-speed = <115200>;
                    power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>;
                    status = "disabled";