Skip to main content
SAman.1
Associate III
Apr 18, 2021 09:03 UTC
Solved

STM32MP157A-DK1 USART3

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.
PatrickF
PatrickFBest answer
ST Employee
Apr 19, 2021 14:41 UTC

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.

In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent

2 replies

PatrickF
PatrickFBest answer
ST Employee
Apr 19, 2021 14:41 UTC
In order to give better visibility on the answered topics, please click on 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
SAman.1
SAman.1Author
Associate III
Apr 20, 2021 13:46 UTC

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