2021-04-18 02:03 AM
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.
Solved! Go to Solution.
2021-04-19 07:41 AM
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.
2021-04-19 07:41 AM
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.
2021-04-20 06:46 AM
OK i thought thers also a way to configurate it in the device tree.