Hello,
I’m trying to enable UART6 on the STM32MP257F-EV1 board using the A-35 processor. UART6 is connected to PF13 (TX) and PF14 (RX) on the extended GPIO. I’m using the OpenST Linux distribution and STM32CubeMX.
What I’ve Tried:
Configured UART6 in CubeMX:
- Set runtime context to A35/Linux with PF13 and PF14 assigned.
- Generated the device tree, but UART6 doesn’t show up in /dev/ttySTM*.
Device Tree Configurations:
&usart6 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&usart6_pins_a>; };
Pinmux for USART6_TX and USART6_RX is set to AF7.
Checked Linux:
- Ran ls -l /dev/ttySTM* and dmesg | grep ttySTM but found no output for UART6.
CubeMX Pin Conflicts:
- PF13 and PF14 conflict with other peripherals like ETH3_PHY_INTN. Disabled conflicting peripherals but still no success.
Questions:
- How can I make UART6 appear as /dev/ttySTM6 in Linux?
- Are there additional steps needed in the device tree or Linux configuration?
- Has anyone successfully used UART6 on the extended GPIO of this board?
Any help would be greatly appreciated!
Thank you!