Skip to main content
Visitor II
April 18, 2021
Solved

STM32MP157A-DK1 USART3

  • April 18, 2021
  • 2 replies
  • 2210 views

Hy i wanted to ask how i can set the clockspeed on my Device tree so the USART3 will work with 10MB/s my device tree looks at them moment like this:

&usart3 {

pinctrl-names = "default", "sleep", "idle";

pinctrl-0 = <&usart3_pins_b>;

pinctrl-1 = <&usart3_sleep_pins_b>;

pinctrl-2 = <&usart3_idle_pins_b>;

uart-has-rtscts;

status = "okay";

};

at the moment is is on automatic. I wanted to try it out with the CubeMX but when i want to set the Paramter settings on the Linux context it always tells me that there is no configuration.

    This topic has been closed for replies.
    Best answer by PatrickF

    Hi,

    with Linux, UART configuration like baud-rate is defined at run time, usually by the application.

    see :

    https://wiki.st.com/stm32mpu/wiki/USART_internal_peripheral

    https://wiki.st.com/stm32mpu/wiki/Serial_TTY_device_tree_configuration

    https://wiki.st.com/stm32mpu/wiki/Serial_TTY_overview

    Regards.

    2 replies

    PatrickFAnswer
    Technical Moderator
    April 19, 2021
    SAman.1Author
    Visitor II
    April 20, 2021

    OK i thought thers also a way to configurate it in the device tree.