Bypassing the Prop Plug?
sunblock
Posts: 55
I'm starting to feel like a nagging cold sore... I've used the recommended capacitors etc to bypass the various IC components as advised from earlier threads, and updated my documentation/drawings to boot! Note: Programmers don't (generally) do documentation--if it was hard to write it should be hard to read! (just kidding) My next question is the circuit to/from the Propeller chip and the Prop Plug. Why aren't there any 10uF bypass caps, or 0.1uF caps anywhere in the designs I can find. My guess is that they aren't necessary, but then asking can't hurt--I hope.
Comments
I am not sure if Parallax has chosen to do so as well, but for the learner - all they get is the basic scheme, not the reality.
Your circuit should have correct capacitance in it, very close to the prop's power pins, on all sides (surface mount) and on both left and right side (DIP) need 0.1f caps non-polar.
(I use 1 uf, because I totally abuse my props and force them to draw peak current)
Cap placement in circuits usually only depends on if...... YOU the designer..... plan on drawing large amounts of elecricity.
Or if you are working around static / noisy sources. (which today is everying)
Cap placement of 0.1uf should be directly on the power pins of most microcontroller chips.
I recall that the prop liked fairly hefty direct leg caps because
WE GOTS US A BIG 8 FLIP FLOPPIN FILP FLOPPER PRO PROP-ER PROPELLER.
It needs a bit extra uumph... in the power department...
Buy like 50 of these, use them.
http://www.parallax.com/Store/Components/Capacitors/tabid/150/CategoryID/28/List/0/SortField/0/Level/a/ProductID/160/Default.aspx
I use them all over my circuit. Its a pretty common thing, if you inspect any pcb of older age, or one that has dsp/fpga on it.
Many don't think of the prop as a dsp, it kinda can be thought of as one but... it is something else all together....
It has a configurable PLL, variable clock input, self-programmable clock, 8- cores, each core can start two timers (a.k.a. spinners) that can control pins, and once they are started, the cores can choose to never come back, and the spinners will keep going forever. Other things it can do are of the more odd nature that are not even documented.
You can program 50+ prop chips all in the same time frame a single prop chip takes.
The parallel nature of parallax's propeller is a fairly undocumented area also.
I haven't really noticed if all areas that document a prop, have caps also in the documentation...
Doing this stuff for so long, i don't even see caps...heck.. I have 500 .1uf caps sitting right in front of me... and 100---220 ohm resistors...
When working with logic...
Get a HANDFULL of these...
And another 2 handfuls of these...
http://www.parallax.com/Store/Components/Resistors/tabid/149/CategoryID/27/List/0/SortField/0/Level/a/ProductID/220/Default.aspx
You had mentioned using the prop without a prop plug, and that is why I originally came to this thread.
The prop has an obex object that lets it enumerate the usb bus. Hap hazardly though, But it is a question to raise...
Could the prop run the usb bus software and emulate a serial port to windows?
"Could the prop run ... serial port to windows?" Well, sort of. There is a entry in the Propeller Object Exchange that does this. It's limited in its usefulness in that it takes a lot of code to do this. It only works by cheating ... it doesn't really obey some of the official rules for USB clients, so it's not possible to market a device based on it even though it works with most operating systems (Windows, Linux, MacOS). It's just that it might not work with some USB host hardware and software. It's slow. You also need a device ID which you have to buy from the USB emperor if you're going to market the device.
Here is the documentation with the schematic included. It is rather silly that I have to download it to put it here so you can read it. Next time, check the product page for the documents in the Parallax store. This time is just to make sure you really can find what you want to know.
Loopy's post #6 shows the 0.1uF bypass cap and also a 4.7uF cap. I'm not sure 10uF is set in stone as a value. Maybe it goes as low as 1uF, maybe as high as 33uF. I use 22uF a lot because I salvaged heaps from some old boards once, so then I tend to put 22uF in my designs. Maybe I (we) should write a reference range like "4.7uF to 33uF" instead of an absolute value?
I can see your point though. Looking at the demoboard, http://elmicro.com/files/parallax/propdemod_schematic.pdf I count one 0.1uF on the 3V3 rail, and given there are three chips on that board, I'd be tempted to put three 0.1uF caps. Having said that though, that is with DIP designs where the chips are further apart, and if you go back to Mike's post #5, if the chips are surface mount they are going to be a lot closer so you may well not need as many bypass caps.
Thoughts from experts would be most appreciated!
With the lower power demand of current chips smaller values can probably be used for most regulators, and logic gates may only need 1 0.1uF capacitor for every 2 gates. Complex chips like micros, FPGA's, and the like will still need to have the power pins well bypassed. The best advice is to read the data sheet carefully and follow those guidelines.