PDA

View Full Version : FTDI help



Bobb Fwed
12-16-2009, 11:53 PM
Can someone point me to the correct schematic to use with the propeller? Here is the group of schematic that I am guessing I am supposed to use: here (http://www.ftdichip.com/Documents/Schematics/FT232BM/232sch20.zip). Or maybe someone has a more custom/better one specifically designed for the prop?

A while back (a few weeks ago), I remember a thread mentioning how to stop the propeller from resetting (from the plug booting up momentarily) when the prop plug is left connected to the propeller but not any USB power. Does this occur if the FTDI chip is being powered on the same power as the prop?

Edit: removed comment about something I misread.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!

Some of my objects:
MCP3X0X ADC Driver (http://obex.parallax.com/objects/488/) - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database (http://obex.parallax.com/objects/493/) - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library (http://obex.parallax.com/objects/543/) - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm (http://obex.parallax.com/objects/546/) - Fast communication between two propellers (1.37MB/s @100MHz)!

Post Edited (Bobb Fwed) : 12/16/2009 5:09:31 PM GMT

Bobb Fwed
12-17-2009, 01:28 AM
Does anyone know if there is a schematic for the prop plug that is available?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!

Some of my objects:
MCP3X0X ADC Driver (http://obex.parallax.com/objects/488/) - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database (http://obex.parallax.com/objects/493/) - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library (http://obex.parallax.com/objects/543/) - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm (http://obex.parallax.com/objects/546/) - Fast communication between two propellers (1.37MB/s @100MHz)!

localroger
12-17-2009, 01:46 AM
The schematic for the Protoboard USB shows the FTDI circuitry.

Kye
12-17-2009, 05:13 AM
Disable all serial code (using the FTDI chip) when not connected to the computer. This works.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,

DynamoBen
12-17-2009, 05:40 AM
I recently incorporated post #7 of the following thread into a design and it worked well.

http://forums.parallax.com/showthread.php?p=847290
(http://forums.parallax.com/showthread.php?p=847290)

Cluso99
12-17-2009, 09:57 AM
The TriBlade uses a minimal PropPlug circuit (no Leds) and it works fine. See the Prop Demo Board and the PropPlug/PropClip schematics.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

· Home of the MultiBladeProps: TriBlade (http://forums.parallax.com/showthread.php?p=786418),·RamBlade (http://forums.parallax.com/showthread.php?p=849265),·SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
· Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) (http://forums.parallax.com/showthread.php?p=778427) ZiCog (Z80) (http://forums.parallax.com/showthread.php?p=788511) , MoCog (6809) (http://forums.parallax.com/showthread.php?p=811043)
· Search the Propeller forums (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz (http://www.bluemagic.biz)·· MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Bobb Fwed
12-18-2009, 03:49 AM
Should I be using a USB A or B for my board?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!

Some of my objects:
MCP3X0X ADC Driver (http://obex.parallax.com/objects/488/) - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database (http://obex.parallax.com/objects/493/) - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library (http://obex.parallax.com/objects/543/) - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm (http://obex.parallax.com/objects/546/) - Fast communication between two propellers (1.37MB/s @100MHz)!

Bobb Fwed
12-19-2009, 05:02 AM
Cluso99 said...
The TriBlade uses a minimal PropPlug circuit (no Leds) and it works fine.

Where can I find a schematic for this? I looked, but couldn't find one.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!

Some of my objects:
MCP3X0X ADC Driver (http://obex.parallax.com/objects/488/) - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database (http://obex.parallax.com/objects/493/) - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library (http://obex.parallax.com/objects/543/) - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm (http://obex.parallax.com/objects/546/) - Fast communication between two propellers (1.37MB/s @100MHz)!

Mike Green
12-19-2009, 05:06 AM
You can find the TriBlade schematics on Cluso99's website (www.bluemagic.biz/tribladeprop.htm (http://www.bluemagic.biz/tribladeprop.htm)).

Rayman
12-19-2009, 05:41 AM
you could also look what I did for the PSM to also make it USB powered. Also, I used 1k resistors on the TX and RX lines and this avoids some of the issues mentioned here...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm

Bobb Fwed
12-19-2009, 05:55 AM
How inter-compatible are the FT232BL and FT232RL? The BL would be easier for me to solder, but both the Phil Pilgrim diagram and the triblade use the RL. The only difference I see (on the pins that are being used) is the AVCC on the BL. This is used for the internal X8 clock multiplier. Is that even used? What should I do with that pin? Tie it to VCCIO or VCC?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!

Some of my objects:
MCP3X0X ADC Driver (http://obex.parallax.com/objects/488/) - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database (http://obex.parallax.com/objects/493/) - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library (http://obex.parallax.com/objects/543/) - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm (http://obex.parallax.com/objects/546/) - Fast communication between two propellers (1.37MB/s @100MHz)!

Bobb Fwed
12-19-2009, 06:13 AM
Here (attached) is the best I could come up with....
Let me know if anything seems wrong. The AVCC wiring seems to be the only suggested way to wire it (according to the datasheet).

It is somewhat of a hybrid between the two previously mentioned schematics.

EDIT: change on schematic: IOVCC now connect to same 3.3V circuit as Prop instead of FT232's internal 3.3V regulator.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!

Some of my objects:
MCP3X0X ADC Driver (http://obex.parallax.com/objects/488/) - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database (http://obex.parallax.com/objects/493/) - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library (http://obex.parallax.com/objects/543/) - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm (http://obex.parallax.com/objects/546/) - Fast communication between two propellers (1.37MB/s @100MHz)!

Post Edited (Bobb Fwed) : 12/18/2009 11:37:27 PM GMT

Cluso99
12-19-2009, 09:28 AM
Bob: I use the WM17115-ND CONN MINI-USB-B RECEPTACLE 5POS RT ANG T/Hole from Digikey.

I am not sure why you are using a 74LVC07 - care to explain?

I note you have connected the FTDI reset to the USB 5V - presume this is to do with the reset problem if unplugged?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:

· Home of the MultiBladeProps: TriBlade (http://forums.parallax.com/showthread.php?p=786418),·RamBlade (http://forums.parallax.com/showthread.php?p=849265),·SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
· Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) (http://forums.parallax.com/showthread.php?p=778427) ZiCog (Z80) (http://forums.parallax.com/showthread.php?p=788511) , MoCog (6809) (http://forums.parallax.com/showthread.php?p=811043)
· Search the Propeller forums (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz (http://www.bluemagic.biz)·· MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Bobb Fwed
12-19-2009, 10:52 AM
Cluso99 said...
Bob: I use the WM17115-ND CONN MINI-USB-B RECEPTACLE 5POS RT ANG T/Hole from Digikey.


I am not sure why you are using a 74LVC07 - care to explain?



I note you have connected the FTDI reset to the USB 5V - presume this is to do with the reset problem if unplugged?

The 74LVC07 is there to act as a buffer. The problem was that when the USB was unplugged (no more 5V power) the FTDI chip could power up from the 3.3V pull ups and cause it to boot which would then reset the Prop (it sometimes occurred randomly, other times incessantly). According to http://forums.parallax.com/showthread.php?p=847290 this part will fix that issue.

The reset pin being pulled up is required on the FTDI chip I have in the schematic. But after further reading it appears that chip does not have an internal oscillator. An oscillator (or XTAL) is required to function with USB. So I have reluctantly switched to the RL which has all the necessary things, and doesn't require the reset pull up or the AVCC and a couple other things.

Thank you for the info, but I had also figured out I needed a type-B USB in the last few hours.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
April, 2008: when I discovered the answers to all my micro-computational-botherations!

Some of my objects:
MCP3X0X ADC Driver (http://obex.parallax.com/objects/488/) - Programmable Schmitt inputs, frequency reading, and more!
Simple Propeller-based Database (http://obex.parallax.com/objects/493/) - Making life easier and more readable for all your EEPROM storage needs.
String Manipulation Library (http://obex.parallax.com/objects/543/) - Don't allow strings to be the bane of the Propeller, bend them to your will!
Fast Inter-Propeller Comm (http://obex.parallax.com/objects/546/) - Fast communication between two propellers (1.37MB/s @100MHz)!

JamesRonald
12-19-2009, 11:46 PM
Nyamekye,

You don't need to remove or comment out all the serial code. Setting the serial TX/RX pins to a couple of unused pins seem to work to me.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
James Ronald
My Robots (http://jamesronald.us/projects.html)