FTDI as a xtal source for propeller
Bits
Posts: 414
I am designing a very small board and real estate is scarce. That said I intend on using the FT232RL and want to exploit the 12Mhz xtal output. Can this be used as the Xtal for the propeller?
Also what about powering the propeller from the FT232RL?
Also what about powering the propeller from the FT232RL?
Comments
2. You don't use PLL to multiply the 12 MHz to something higher. 12MHz is pushing the envelope as PLL source.
As to powering the Prop from the 3V3 output that typically powers VCCIO, no. Use a separate regulator from the USB +5V supply. There are some restrictions about doing this. You best guide would be the schematics for the QuickStart and Prop BOE.
-Phil
Therefore I could set the clock 6Mhz and then use the propellers PLL. You think this is a good idea?
-Phil
From what you are saying, it doesn't mean its a BAD idea, it just means that that the clock source has different stability and accuracy. The question is, is this stability and accuracy sufficient for the intended application? Parallax used a crystal on the quickstart as it is intended to be a robust general propose intro platform. We should at least find out what Bits is looking for. I think this is a cool idea and should at least be explored. The experiments that go against conventional wisdom are the have a lower likelihood of succeeding, but have a higher likelihood of revealing a cool new result.
Bits, what is the intended application of your board? How does stability and accuracy impact your target?
I want to maximize the IC's I have selected and used there secondary features, like in the FTDI Ic's clock and CBUS0..6 pins. It would be great if I could also use the voltage regulator already installed inside th eFTDI ic but seems the current capabilities would be inadequate to run a propeller.
All the circuits fit but I am trying to make space for things like a reference regulator (20 bit ADC ic needs a clean reference). Resistors are 1206 package but I can go smaller as its a tight fit now then again I hate soldering anything smaller than a 1206. I might
-Phil
It does mention that the clock signal is +/- 0.7% at 6Mhz but that is all it mentions.
Follow the link in section 7.6 of that same document. ... it looks like one or the other to me.
As for running the prop from the 3v3 regulator of the FT232, it can be done, and the datasheet permits this. The limitation is 50ma output. I chose to do this on my board and followed the design guidelines in the FT232 datasheet.
Since you are designing a stepper motor controller, I would not advise using the regulator of the FT232.
If you are really limited on space, I might suggest just putting a header on the board for a Prop Plug instead of building the USB into the board.
The stepper motor is running off an external switching PS at 15V 10 amps so the only IC I wanted to run at 3.3v was the propeller and the 24lc256. Boy it would be cool to use the eeprom on the FTDI ic to store the propeller code but that's a different dream.
Not to mention at +/- 1667ppm considering a crystal is +/-30ppm this is a slight difference and ill probably go with a crystal.
That's 7000 ppm.
That's 34.7 ppm.
Here's the DigiKey part number for the 10 MHz crystal: XC1510CT-ND. Its footprint is only 5mm x 3.2mm.
-Phil
The capacitance is not as good as I would like but, its a far cry better than where I was headed.
-Phil
1206 are huge - use those only if Power Numbers say you must. 0805 are just as easy to work with, and only 0603 and 0402 start to get hard to handle - but only slightly so.
1206 are so 'old hat' they are now on the back of the price curve.
That should give you room for a crystal.
At 6MHz the size of the crystal element limits how small a package can be, but there are also Ceramic resonators.
They come down to 2mmx4mm in size, and sit between the FTDI On-Chip Osc, and a crystal.in stability.
That said, however, I don't think you'll have much success soldering the crystal I recommended by hand, since the pads are on the bottom and not exposed. You can do it with solder paste from a syringe and a temp-controlled toaster oven, though.
-Phil
As long as the Propeller not needs more than 50mA (depends on the code and used cogs) and the circuit is always connected to a PC then this should work. Be aware that the clock also stops while in suspend mode. If you power the Prop from the FT232 then there is also no reset proplem - no need for the QuickStart tri-state buffers.
Andy
I use the "reverse" type of tweezers. You squeeze to open it and release to grab the resister chip.
I prefer this type because it statically holds the resister.
I prefer the 0603 size whenever possible, th 0402 is just to small and the larger just takes too much room.
Duane J
A sot23 3v3 regulator from 5V is small but you will need an input and output cap I use 10uF ceramic 0805. If you are sure the prop (and driving the FTE/etc) will not draw more than 50mA then by all means use the FTDI regulator output.
As for the OSC output from the FTDI, just remember as said above, it will not be active until enumeration is done by the PC USB, and IIRC it also ceases on a USB reset. I have found no problems with 13.5MHz xtals on the prop with PLLx8. Chip indicated that it should work to 14.31818MHz somewhere. However, commercial circuits should be aware these are well out of specs. But as you say, the FTDI can divide by 2, so 6MHz will be fine except for its accuracy. If that is ok, and you can take advantage of this too. Have you looked at the new FTDI chip (cannot recall its number - there was a thread recently - 1mth ago???)? Think it was cheaper and smaller.
1206 resistors and capacitors. I use 0805 regularly without problems. I would not like to solder heaps of pcbs by hand with lots of these. However, can you use ResNets (x4)??? They come in 0603 size (1206 package). Now they are tiny but as long as you extend the pads out they are in fact quite easy to solder by hand once you have the hang of it. See CRA6S8, YC164J- on digikey. Use the J version - cannot recall if they call them convex or concave - think convex - where the pins are flat and the recess is between the pins are slightly easier.
Do you require 32/64KB eeprom??? If not, you can use 24LC64 (8KB) in a sot23 package. Otherwise use the TSSOP for the 24LC512. Just be aware the 24LC64 requires a special download program - I have tested the 24LC64 and it works, but requires a special download sequence as you cannot program it by the PropTool/bst/etc.
If you are adding the transistor reset circuit, you can use a sot23 transistor with an internal 10K between BE (will have 470R or 1K series resistor into the base which is fine) - saves a resistor. I use them on my latest designs.
If you are hand soldering, consider putting parts on the uderside of your pcb.
[slaps forehead]
This is correct for the FT232R - when the usb cable is unplugged it stops outputting a clock signal.
At first glance the newer equivalents (FT230X, FT231X) appear to have the same issue - the datasheet says "*When in USB suspend mode the outputs clocks are also suspended."
However it would pay to check in with them to verify, since its a whole new generation of devices. Perhaps there is a say of ignoring usb suspend or something. If space is really an issue there is a 3x3mm chip with 10 pins that communicates over I2C (FT200XD), it still has the 3v3 output and a single CBUS output.