2025-10-07 2:09 PM
Hi,
When transmitting data to the ttySTM0 port, the data goes to the UART4_TX pin connected to the JTAG virtual serial input. However, I need an available TTL serial port to communicate with a microcontroller. How do I enable the USART1 port connected to the PC0/PB0 pins?
To which pins is the ttySTM3 port linked? How do I enable it?
root@stm32mp1:~# dmesg | grep tty
[ 0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200
[ 0.598790] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 61, base_baud = 4000000) is a stm32-usart
[ 3.619483] printk: console [ttySTM0] enabled
[ 4.294977] 4c001000.serial: ttySTM3 at MMIO 0x4c001000 (irq = 62, base_baud = 4000000) is a stm32-usart
[ 4.304256] serial serial0: tty port ttySTM3 registered
[ 11.426540] systemd[1]: Created slice Slice /system/getty.
[ 11.502583] systemd[1]: Created slice Slice /system/serial-getty.