Sparkfun RS232 Shifter SMD to mbed NXP LPC1768 help

28 Sep 2012

I'm still in the process of learning mbed

I am trying to connect the RS232 shifter smd to the mbed. The shifter consist of VCC, GND, TX-0 and RX-I pin.

It is correct to connect the VCC to the VU pin of mbed, GND to GND pin of mbed, TX-0 to pin9 (TX serial) of mbed and RX-I to pin10 of (RX serial) of mbed?

Mbed NXP LPC1768

Sparkfun RS232 Shifter SMD https://www.sparkfun.com/products/449

28 Sep 2012

Apparently that one needs to have TX-0 connected to RX on mbed RX-I to TX on mbed (according to the comments below it). Connecting UARTs is always for me at least pretty much random, since you never know if TX means you need to connect it to the TX of the uC, or that it is the TX of the device.

And this was also linked in the comments: http://mbed.org/forum/news-announcements/topic/1050/

22 Oct 2012

Erik - wrote:

Connecting UARTs is always for me at least pretty much random

Well , I had the same problem , until I discovered a quick solution ... Checking TX RX pins in a system using a multimeter ... TX pin is output , so if you check this ( at idle state ) with a multimeter you get either 3.3 V to 5V if it is TTL output or -7 to -12V if it is RS232 output. RX pin is input , so you get no reading !

22 Oct 2012

It needs also 3.3V and not 5V! - use Vout (not VU) or it only works in one direction.

http://mbed.org/forum/news-announcements/topic/1050/