cancel
Showing results for 
Search instead for 
Did you mean: 

Using IAP with Arduino and STM32

zexx86
Associate II
Posted on March 26, 2011 at 22:28

Using IAP with Arduino and STM32

3 REPLIES 3
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
Up vote any posts that you find helpful, it shows what's working..
zexx86
Associate II
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 

Andrew Neil
Evangelist III
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!