[info] Communication module - FT232RL
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Communication module - FT232RL
Current status: SD + TTL v 0.3 Ordered on March 5th 2014.
While stm32f4discovery has a micro usb connector which could be used for serial-over-usb, sometimes a second serial protocol is desired.
Based on FT232RL
usb_mmc_spi.zip
Schematic.pdf
BOM
Current status: New order placed, should get the board any day now.
This board has two connectors because depending on your situation you can snap it on at two different locations - either in the bottom-left corner of the discovery, or in the middle of the right side.
TODO: add exact pin ranges
While stm32f4discovery has a micro usb connector which could be used for serial-over-usb, sometimes a second serial protocol is desired.
Based on FT232RL
usb_mmc_spi.zip
Schematic.pdf
BOM
Current status: New order placed, should get the board any day now.
This board has two connectors because depending on your situation you can snap it on at two different locations - either in the bottom-left corner of the discovery, or in the middle of the right side.
TODO: add exact pin ranges
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- contributor
- Posts: 51
- Joined: Tue Nov 05, 2013 1:43 pm
Re: Communication module
Then I say definitely bluetooth. After it gets it's final resting spot it'll be nice to get data wireless.russian wrote:One of the reasons for all this is to gather pieces for the future board which has to be our own board for the reasons of price & size.
I'd also suggest using USART1 or USART3 then you can program wireless also.
The boot loader is located in system memory. It is used to reprogram the Flash memory by
using USART1 (PA9/PA10), USART3 (PC10/PC11 or PB10/PB11), CAN2 (PB5/PB13)...
Re: SPI bus
Opendous has a good SD card KICAD reference picture found here http://code.google.com/p/opendous/wiki/LPC313x_DIP_Board uses this connector http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=3M5607CT-ND
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module
Does anyone know the height on a standard 2.54 female header like
?
And the height of an ANGLED male header like
?
I wonder if we can snap our communication border under the discovery using vertical female and have an angle male on the communication module - would this angle module fit under discovery?
In terms of the location that would place it under the audio jack of the discovery. So, question is the female header is taller than the angled header? On my amazing draft vertical female is black, the communication module is red and the male angles header is blue.
Update: the box is 9mm tall
and the vertical header is only 8.5mm tall, so this would not work
?
And the height of an ANGLED male header like
?
I wonder if we can snap our communication border under the discovery using vertical female and have an angle male on the communication module - would this angle module fit under discovery?
In terms of the location that would place it under the audio jack of the discovery. So, question is the female header is taller than the angled header? On my amazing draft vertical female is black, the communication module is red and the male angles header is blue.
Update: the box is 9mm tall
and the vertical header is only 8.5mm tall, so this would not work
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Communication module
Perhaps of interest, see assembly technique found on this page, where the connector is put on the edge of a PCB.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module
Couple new ideas for this module:
we should have two 10x2 headers on it so that we can snap it on the discovery two ways: we can snap it to the left of the discovery using the bottom-left corner as on the original picture - this case our header would sit from PE13 to GND. We should also have another 10x2 on the other side - this one would let us span it to the right from the board center - that would be from PB6 to PA13.
We should also provide a 5x2 connector for SPI bus used for other external modules.
The pinout on the SPI connector should be
1 3.3V
2 GND
3 5V
4 CS1
5 CS2
6 CS3
7 MISO
8 MOSI
9 SCK
10 CS4
we should have two 10x2 headers on it so that we can snap it on the discovery two ways: we can snap it to the left of the discovery using the bottom-left corner as on the original picture - this case our header would sit from PE13 to GND. We should also have another 10x2 on the other side - this one would let us span it to the right from the board center - that would be from PB6 to PA13.
We should also provide a 5x2 connector for SPI bus used for other external modules.
The pinout on the SPI connector should be
1 3.3V
2 GND
3 5V
4 CS1
5 CS2
6 CS3
7 MISO
8 MOSI
9 SCK
10 CS4
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module
Left 10x2 header:
CS1 PE13
CS2 PE14
CS3 PE15
CS4 PD10
CS_SD_MODULE PD11
Right 10x2 header:
CS1 PD7
CS2 PB7
CS3 PD5
CS4 PD3
CS_SD_MODULE PD4
SPI1_SCK PB3
SPI1_MISO PB4
SPI1_MOSI PB5
USART3_TX PC10
USART3_RX PC11
CS1 PE13
CS2 PE14
CS3 PE15
CS4 PD10
CS_SD_MODULE PD11
Right 10x2 header:
CS1 PD7
CS2 PB7
CS3 PD5
CS4 PD3
CS_SD_MODULE PD4
SPI1_SCK PB3
SPI1_MISO PB4
SPI1_MOSI PB5
USART3_TX PC10
USART3_RX PC11
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Communication module
Ooops, I see D2 now.
To add via, simply add trace to pad, then press V for via. Add the via at the edge of the pad, such that part of the via touches the solder pad. Hmmm, I see what you are saying. G1, G2, G3 and G4 should be added to the symbol. Then they will get a net name, then you should be able to add the trace, then you can add a via where ever you desire.
Schematic notes FT232RL, was there some reason to believe it would be the CP2102 or CP2103? It's my understanding that the goal is to use Seeedstudio OPL which specifies the FT232RL.
I'd like to stress silk screen. It's really handy for assembly purposes. Also labels on the headers is really handy.
To add via, simply add trace to pad, then press V for via. Add the via at the edge of the pad, such that part of the via touches the solder pad. Hmmm, I see what you are saying. G1, G2, G3 and G4 should be added to the symbol. Then they will get a net name, then you should be able to add the trace, then you can add a via where ever you desire.
Schematic notes FT232RL, was there some reason to believe it would be the CP2102 or CP2103? It's my understanding that the goal is to use Seeedstudio OPL which specifies the FT232RL.
I'd like to stress silk screen. It's really handy for assembly purposes. Also labels on the headers is really handy.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module
Update: so the issues was NOT about the 10x2 module - the module is fine.
The issue was about KiCad generating two .drl file in this project - and apparently Oshpark only supports one .drl file per PCB, they have this warning in their FAQ but I have missed that.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Communication module
Also when you get the holes thing ironed out, double check the hole size on pin 1, the square. Many default KICAD libraries have that hole slightly smaller than the rest, and it makes it a bugger to insert the connector. So it's worth double checking the pin 1 via.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module
So I was really going to give up on this module and I have started looking for some easy-to-solder replacement, only to realize that this module has other names - http://www.dipmicro.com/store/CON-MICROSD1 sells it as tfwf1-ebxx-1x0x and eBay sells it as TransFlash TF Micro SD Socketrussian wrote:where to get an SD module compatible with 'ST-TF-003A'.
Still a nice global part number would be nice.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module - FT232RL
We made some progress:
1) all footprints were right
2) SD card works (but it is a little bit unrealizable, not sure if the issue is with the card or the fact that I do not have a 4.7nF capacitor)
3) an issue: we've got the USB pinout upside down
4) another issue: even with the hacked USB wiring, the chip is recognized as 'Unknown device'. I have no idea if that's a result of the lame wiring or if I need to initialize the FT232 chip with some default firmware to get it recognized by Windows or if that's an issue with my Windows instance
1) all footprints were right
2) SD card works (but it is a little bit unrealizable, not sure if the issue is with the card or the fact that I do not have a 4.7nF capacitor)
3) an issue: we've got the USB pinout upside down
4) another issue: even with the hacked USB wiring, the chip is recognized as 'Unknown device'. I have no idea if that's a result of the lame wiring or if I need to initialize the FT232 chip with some default firmware to get it recognized by Windows or if that's an issue with my Windows instance
- Attachments
-
- 20140211_060053.jpg (143.37 KiB) Viewed 26239 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module - FT232RL
PS: the green wire on the picture is soldered to the signal side of C353 on the schematic.
Guys, can you please research this? Do I need to initialize the FT232 chip? If not, why does it not ask for a driver? Is it because of the lame wiring on the previous picture?
Guys, can you please research this? Do I need to initialize the FT232 chip? If not, why does it not ask for a driver? Is it because of the lame wiring on the previous picture?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- abecedarian
- Posts: 386
- Joined: Fri Nov 15, 2013 10:49 am
Re: Communication module - FT232RL
FT232 requires a driver install.
http://www.ftdichip.com/Support/Documents/InstallGuides.htm
http://www.ftdichip.com/Support/Documents/InstallGuides.htm
You can lead the horticulture but you can't make them think.
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module - FT232RL
Sure thing it needs a driver. My problem is that Windows does not recognize it as 'TTL232R' - it recognizes it as 'Unknown device' and it does not want any drivers! Now my question is why would windows have any USB layer issues with this chip - could it be the wiring, could it be what?abecedarian wrote:FT232 requires a driver install.
http://www.ftdichip.com/Support/Documents/InstallGuides.htm
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Communication module - FT232RL
I think "reset" pin 19 is buggered, See reference found here http://puma.freeems.org/docs/Puma_spin1_schematic.pdf on page 15. I know that circuit worked, and there aren't many differeences. The cable and the 47pF are differences, but I don't expect them to be that significant.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module - FT232RL
kb1gtt wrote:I think "reset" pin 19 is buggered
from hereActive low reset pin. This can be used by an external device to reset the FT232R. If not required can be left unconnected, or pulled up to VCC
So I guess you are suggesting connecting it to GND? But the datasheet has promised that we can leave it unconnected?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module - FT232RL
I've got the module working!
Reset pin was not the problem - wiring was the problem. It was not simply flipped, it was totally messed up - so, I've swapped the data wires one more time and this got the module up&running! Oh, and the RX/TX pinout on the connector was wrong, too. So, while rev 0.2 is workable, I would not call our biggest success so far
Reset pin was not the problem - wiring was the problem. It was not simply flipped, it was totally messed up - so, I've swapped the data wires one more time and this got the module up&running! Oh, and the RX/TX pinout on the connector was wrong, too. So, while rev 0.2 is workable, I would not call our biggest success so far
- Attachments
-
- 20140212_192316.jpg (84.02 KiB) Viewed 26212 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module - FT232RL
SD + TTL v 0.3
Ordered on March 5th 2014.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- Tambralinga
- donator
- Posts: 174
- Joined: Wed Jun 18, 2014 8:36 am
- Location: Bangkok, Thailand
Re: Communication module - FT232RL
Hi rusEFI,
Could you please explain to me, How to jump or wiring for FT232RL .
I got some problem like this.
Thanks,
Mr.X
Could you please explain to me, How to jump or wiring for FT232RL .
I got some problem like this.
Thanks,
Mr.X
Skype : shiva-p
+66 8 5357 5159
+66 8 5357 5159
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module - FT232RL
Current version of the module is know to work right away. Frankenstein communication module is same as this small PCB and again, it is expected to work as is.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Communication module - FT232RL
didn't get if c358 is ceramic or electrolytic (dejavu?)
http://www.digikey.com/product-detail/en/CC0805ZRY5V6BB475/311-1371-1-ND/2103155
but on schematics it has polarity...
http://www.digikey.com/product-detail/en/CC0805ZRY5V6BB475/311-1371-1-ND/2103155
but on schematics it has polarity...
- AndreyB
- Site Admin
- Posts: 14341
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Communication module - FT232RL
I use ceramic c358 - do they even have electrolytic in this package?
I agree that that's confusing. Same story with c354
I agree that that's confusing. Same story with c354
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute