EEVblog® Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: tedre191 on July 17, 2013, 12:10:15 am

Title: FT232RL Loopback FAIL
Post by: tedre191 on July 17, 2013, 12:10:15 am
Hi,

I just receive my pcb from OshPark for my new project and i can't get the ft232rl chip working.
When I plug my board to my computer, drivers are installing and I can see the TX led light up when i'm sending data with Putty.

On a loopback test, RX and TX led light up but I receive only 0x00 values back.

Am I missing something ?

Thanks

Title: Re: FT232RL Loopback FAIL
Post by: bobdagangster on July 17, 2013, 12:18:57 am
Unless I am mistaken, it generally helps to connect the RX/TX pins on the FTDI to the MCU... (Or maybe the net names are invisible in Eagle?)
Title: Re: FT232RL Loopback FAIL
Post by: tedre191 on July 17, 2013, 12:27:33 am
Sorry, my mistake. Indeed, RX and TX are connected to the MCU TX and RX, names are not visible in that screenshot.
To do my loopback test, I removed the MCU and  connected pin 1 and 5 together. I tried with and without the two 1k resistors.
Title: Re: FT232RL Loopback FAIL
Post by: bobdagangster on July 17, 2013, 12:50:23 am
I tried with and without the two 1k resistors.
I was about to suggest that...
CTS might want to be pulled up?
Title: Re: FT232RL Loopback FAIL
Post by: fcb on July 17, 2013, 01:02:46 am
Download "FT_prog" from the FTDI website, have a look at how things are configured (the FT232R has onboard EEPROM).

It should be trivial to join TX & RX and use something like Hyperterminal to loopback - you may have flow control setup??

Title: Re: FT232RL Loopback FAIL
Post by: tedre191 on July 17, 2013, 01:46:51 am
CTS might want to be pulled up?

I just tried, didn't work.

Download "FT_prog" from the FTDI website, have a look at how things are configured (the FT232R has onboard EEPROM).

It should be trivial to join TX & RX and use something like Hyperterminal to loopback - you may have flow control setup??

Flow control is set to "None". I downloaded FT_prog and i'm able to read the FT232R EEPROM content.

None of the options in "Hardware Specific" are enabeled.
I'm probably missing something ..  :(

Title: Re: FT232RL Loopback FAIL
Post by: David_AVD on July 17, 2013, 01:48:29 am
Did you buy the chip from a known source or eBay / AliExpress?  There are dodgy fakes doing the rounds if I recall correctly.
Title: Re: FT232RL Loopback FAIL
Post by: tedre191 on July 17, 2013, 03:14:24 am
Did you buy the chip from a known source or eBay / AliExpress?  There are dodgy fakes doing the rounds if I recall correctly.

I bought the chip on eBay (2 of them, both the same issue).
http://www.ebay.ca/itm/140838941057 (http://www.ebay.ca/itm/140838941057)
Title: Re: FT232RL Loopback FAIL
Post by: richcj10 on July 17, 2013, 04:07:15 am
You got fake chips.
Title: Re: FT232RL Loopback FAIL
Post by: mickpah on July 17, 2013, 05:26:07 am
You got fake chips.
yep very likely, I bought a board from Itead , same issue. They admitted they had been caught with fakes. They replaced it.  The QC sticker must have been for the board only I guess
Title: Re: FT232RL Loopback FAIL
Post by: sleemanj on July 17, 2013, 05:39:11 am
RTS and CTS are active LOW, either pull them down, or link RTS to CTS so it's signalling itself.  Don't know if it will help, but worth a try huh.
Title: Re: FT232RL Loopback FAIL
Post by: David_AVD on July 17, 2013, 06:15:41 am
No need to do anything with the control lines.  Hooking up tx and rx is all you need for a basic connection.
Title: Re: FT232RL Loopback FAIL
Post by: amyk on July 17, 2013, 10:51:34 am
You got fake chips.
Or just defective...
Title: Re: FT232RL Loopback FAIL
Post by: tedre191 on July 17, 2013, 01:10:17 pm
Thanks everybody, I'm gonna buy new chips (from Digikey this time) and give them a try.
Title: Re: FT232RL Loopback FAIL
Post by: tedre191 on July 29, 2013, 05:27:43 pm
Just received my new chips from Newark and everything is working now. Thank you all for your help !  :D