cancel
Showing results for 
Search instead for 
Did you mean: 

FTDI with Nucleo-L053R8

gandhi
Associate II
Posted on September 17, 2015 at 10:15

Hi,

I'm using Nucleo-L053R8 for my project. I have connected external 3-axis sensor to the nucleo board.  And it's working fine. Now I'm looking to make custom board. I connected FT232 with USB to the pins TX and RX and taken out jumpers on CN2.  I have installed drivers for RS232. But i could not see the output on serial terminal. Can someone tell me the mistake?. Should i need to make any other connections?. Should i program the USB?
9 REPLIES 9
Posted on September 17, 2015 at 11:25

Disconnect the FTDI from the mcu, short Rx with Tx - do you see characters echoed in terminal?

No go? - is in the terminal handshake set in some way? Play with it.

If you get this working, disconnect the short, connect it back to mcu - which pin connected to which?

JW
gandhi
Associate II
Posted on September 17, 2015 at 13:15

Hi,

Thanks for your reply.

I disconnected with MCU and shorted both RXD and TXD but nothing on teraterm serial terminal.

Later on i tried with RX-1 and TX-0 but nothing.

________________

Attachments :

FTDI.JPG : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I1DN&d=%2Fa%2F0X0000000bjy%2F5Is4o5klHI.0_sZkZ6KzVrjs0QijgEg_.IWu0iod8RY&asPdf=false
gandhi
Associate II
Posted on September 17, 2015 at 14:43

Ok, but what is wired to what? Describe the pin connections, or provide a schematic.

You may need to cross over the sense of RX/TX. In both cases the TX pin is likely the output.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
gandhi
Associate II
Posted on September 17, 2015 at 15:25

I have connected TXD pin from FTDI to RX pin in nucleo. And RXD from FTDI to TX from nucleo. Then i pressed restart. But i could not see any output on serial terminal ( teraterm).

I also tried connecting RX-1 and TX-0 to nucleo TX and RX respectively.

Posted on September 17, 2015 at 16:28

> I disconnected with MCU and shorted both RXD and TXD but nothing on teraterm serial terminal.

There's no reason to proceed and connect the FTDI to the mcu until you get this going. Try a different terminal. Are you sure you know the FTDI's virtual serial number? Have you observed it in Device Manager (I assume you are under Windows, I am not familiar with Linux working of FTDI devices)?

JW
Posted on September 17, 2015 at 16:31

> I disconnected with MCU and shorted both RXD and TXD but nothing on teraterm serial terminal.

There's no reason to proceed and connect the FTDI to the mcu until you get this going. Try a different terminal. Are you sure you know the FTDI's virtual serial number? Have you observed it in Device Manager (I assume you are under Windows, I am not familiar with Linux working of FTDI devices)?

JW
gandhi
Associate II
Posted on September 18, 2015 at 12:08

Its working. On the nucleos, D0 & D1 are not connected to the microcontroller's serial 2 Tx/Rx !

 use serial 1 Tx & Rx on (D8 or D10) & D2. 

Posted on September 18, 2015 at 14:28

Ok, but aren't there solder-bridges that can connect them, and the PA2/PA3 USART2 pins are connected the the ST-LINK's VCP connection

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