Skip to main content
Visitor II
April 7, 2022
Question

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.

  • April 7, 2022
  • 2 replies
  • 971 views

[   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

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    May 6, 2022

    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

    MEnge.3Author
    Visitor II
    May 6, 2022

    Yes that problem has been fixed already.

    I have another case open with I2S2 mclk issues.

    Thanks.