Skip to main content
zexx86
Associate III
March 26, 2011
Question

Using IAP with Arduino and STM32

  • March 26, 2011
  • 3 replies
  • 748 views
Posted on March 26, 2011 at 22:28

Using IAP with Arduino and STM32

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    May 17, 2011
    Posted on May 17, 2011 at 14:29

    Your description is rather confusing, can you draw a diagram?

    Normally one connects the TX (transmit/output pin) of one device to the RX (receive/input  pin) of the other device. I know there can be naming issues with DTE/DCE, but always go with the physics.

    I know the FT232BM (DLP-TXRX) works just fine with the STM32. http://www.dlpdesign.com/dlptxrx-v12-ds.pdf

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:29

    ''I know it is weird, but really I have to connect RX to RX and TX to TX''

     

     

    Actually, that's not weird at all - that's perfectly normal when one device is a DCE (modem) and the other is a DTE.

    This is, in fact, the way RS232 was designed to work!

    In this case, you should think of ''RX'' and TX'' as circuit names - not pin names:

    The RX cicuit carries the data thas has been received from the comms medium;

    The TX circuit carries the data thas is to be transmitted to the comms medium.

    Thus the TX pin will be an output from the DTE, and an input to the DCE;

    the RX pin will be an input to the DTE, and an output from the DCE.

    That's why clive1 suggested that you look at the ''physics'' rather than the names: an output pin must always drive an input pin!

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    zexx86
    zexx86Author
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:29

    I know it is weird, but really I have to connect RX to RX and TX to TX. At least transmitting data to computer is working.

    With PL2303 converter it is working without any problem, so maybe arduino uses specific functions of the ftdi.

    All in all, thank you