Skip to main content
sanjib
Associate III
March 27, 2014
Question

UART Comm between stm32f407 and stm32f030 (full duplex)

  • March 27, 2014
  • 7 replies
  • 1054 views
Posted on March 27, 2014 at 13:23

Did any body experience in communicating between two different boards (full duplex) . Please help me with code the controller can be of anything just I need a example for reference. Please help me

    This topic has been closed for replies.

    7 replies

    Tesla DeLorean
    Guru
    March 27, 2014
    Posted on March 27, 2014 at 13:32

    How is this any different from most serial communications? Consider SLIP as a self framing packet protocol.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    sanjib
    sanjibAuthor
    Associate III
    March 27, 2014
    Posted on March 27, 2014 at 13:46

    Hi Clive

    Thanks I didn't understand do you have any sample code for reference Thank you in advance
    sanjib
    sanjibAuthor
    Associate III
    March 27, 2014
    Posted on March 27, 2014 at 13:53

    Hi clive

    My requirement have to done by using USART . 3 boards two stm32f030 and 1 stm32f407, Full duplex(USART) between stm32f407 and stm32f030 and half duplex communication between stm32f030 and stm32f030 . Please help
    Tesla DeLorean
    Guru
    March 27, 2014
    Posted on March 27, 2014 at 14:06

    I write commercial code.

    STM32F4xx_DSP_StdPeriph_Lib_V1.3.0\Project\STM32F4xx_StdPeriph_Examples\USART\USART_TwoBoards

    STM32F0xx_StdPeriph_Lib_V1.1.0\Project\STM32F0xx_StdPeriph_Examples\USART\USART_TwoBoards

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    sanjib
    sanjibAuthor
    Associate III
    April 4, 2014
    Posted on April 04, 2014 at 13:18

    The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6b0&d=%2Fa%2F0X0000000brO%2FGUYL6vRfA3.hqCbYW0NHSNl.PGaerF4nQLLgrO3np00&asPdf=false
    sanjib
    sanjibAuthor
    Associate III
    April 4, 2014
    Posted on April 04, 2014 at 13:38

    The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6eR&d=%2Fa%2F0X0000000bsT%2F4ruR4RSRKPOwiqIdVeKVZa1vaa402_yYFvuqfrQ6qRs&asPdf=false
    Amel NASRI
    ST Technical Moderator
    April 10, 2014
    Posted on April 10, 2014 at 15:51

    Hi Sanjib,

    Try to:

    1- Precise the config to use: which USART? which pins?

    2- Clean this code to keep only STM32F0 (no STM32F1)

    3- Check peripherals available in your F0 device (Ex: in STM32F030x8, there is no USART2)

    -Mayla-

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.