Skip to main content
ASSAAD.ASSAAD
Associate III
January 16, 2015
Question

Stm32f407 uart

  • January 16, 2015
  • 4 replies
  • 679 views
Posted on January 16, 2015 at 17:13

hello Every one

I need 6 usart communications  ; in stm32f407 we have only 4 usart and 2 uart

Infact I still dont know the main diffirence between usart and uart ; so can I use  uart as usart here ?

Thank you in advanced
    This topic has been closed for replies.

    4 replies

    waclawek.jan
    Super User
    January 16, 2015
    Posted on January 16, 2015 at 17:28

    USART means Univarsal Synchronous [and] Asynchronous Receiver-Transmitter, i.e. an interface you can put either in synchronous mode (inputting/outputting clock explicitly on an additional pin), or asynchronous mode (which - after level shifting - is the good old RS232).

    UART is a simplified interface which does not work in the synchronous mode.

    JW

    Tesla DeLorean
    Guru
    January 16, 2015
    Posted on January 16, 2015 at 18:21

    The SYNCHRONOUS feature you're almost certainly NOT using.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    ASSAAD.ASSAAD
    Associate III
    January 20, 2015
    Posted on January 20, 2015 at 15:51

    Thank you all for help ;

    So I understand the SYNCHRONOUS is a feature ; so I can use uart in usart ; right ?

    Tesla DeLorean
    Guru
    January 20, 2015
    Posted on January 20, 2015 at 17:20

    You're using the serial ports in an ASYNCHRONOUS mode, so yes ALL the U(S)ART support that.

    SYNCHRONOUS mode would use a clock signal. If you're not sure, you probably aren't using it, it's a specialized mode.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..