cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157A-DK1 USART3

SAman.1
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

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 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

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 'Accept as Solution' on the reply which solved your issue or answered your question.
SAman.1
Associate III

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