cancel
Showing results for 
Search instead for 
Did you mean: 

We would like to use the USART1 in our design but the device is not available later under /dev/ttySTM. In the kernel log it seems that the device is registered but then the serial0 seems to use ttySTM1 and you do not have that interface available.

MEnge.3
Associate II

[   0.056781] Serial: AMBA PL011 UART driver

[   2.010824] stm32-usart 40010000.serial: interrupt mode for rx (no dma)

[   2.010858] stm32-usart 40010000.serial: interrupt mode for tx (no dma)

[   2.010901] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 56, base_baud = 4000000) is a stm32-usart

[   3.202640] stm32-usart 5c000000.serial: interrupt mode for rx (no dma)

[   3.207831] stm32-usart 5c000000.serial: interrupt mode for tx (no dma)

[   3.214512] 5c000000.serial: ttySTM1 at MMIO 0x5c000000 (irq = 57, base_baud = 4000000) is a stm32-usart

[   3.224238] serial serial0: tty port ttySTM1 registered

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @MEnge.3​ ,

Sorry to come so late in this post.

Did you find a solution to your problem ?

UART4 is register first as /dev/ttySTM

Your alias serial0 to UART1 is register as /dev/ttySTM1

What do you mean "you do not have that interface available" ?

Olivier

Olivier GALLIEN
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.
MEnge.3
Associate II

Yes that problem has been fixed already.

I have another case open with I2S2 mclk issues.

Thanks.