Skip to main content
SAman.1
Associate III
April 18, 2021
Solved

STM32MP157A-DK1 USART3

  • April 18, 2021
  • 2 replies
  • 2211 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

PatrickF
PatrickFBest answer
ST Employee
April 19, 2021
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
April 20, 2021

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