Propeller power issues
Vega256
Posts: 197
Hi guys,
I have my Prop powered through a 3V3 regulator; it along with the Propeller is on a breadboard. I am having issues with the chip power-cycling and randomly powering on and off. I have monitored the voltage during operation and it seems to be steady and quiet. Anyone have a solution or even an idea of what is going on here?
I have my Prop powered through a 3V3 regulator; it along with the Propeller is on a breadboard. I am having issues with the chip power-cycling and randomly powering on and off. I have monitored the voltage during operation and it seems to be steady and quiet. Anyone have a solution or even an idea of what is going on here?
Comments
-Phil
-Phil
http://www.parallax.com/Portals/0/Downloads/docs/prod/prop/SerialtoPropeller.pdf
And you can also have your code use the code below, if you put this at the top of pub main it will force your application to wait for a keystroke through the parallax serial terminal before it continues through the mail loop. This will allow you to know if the code resets or not as it will not allow the code to progress to the LED flashing code. If the LED continues to flash eternally, it isn't resetting and has something to do with that rs-232 connection.
So tell us about the filter and bypass caps you're using, and where they're physically located.
-Phil
-Phil
On my usual setup I use a 9 Volt SM PSU regulated down to 5 Volts, and then again to 3.3 Volts (with all the usual input/output caps). The Prop gets 100nF on each of the sides and usually a 47-100uF Tant cap right underneath it. With all of this I always get a reset when I switch on/off the 'scope (with or without any probe connections) if the serial lead is connected to the PC. The SM PSU has an earth connection all the way through.
I should try a temp setup from a 9 Volt battery to prove if the problem is just one great long earth loop. On some boards I made I have put a switch/link in the path from the serial /RST to the Prop, mostly with the three transistor circuit.
Any suggestions for fixing this?
-Phil
First, check exactly what triggers by removing the serial connection controls - first the Reset, then the Data lines until only ground remains.
Remote cables + Mains relay switching events can inject quite large current impulses into boards, with very fast edges.
Once you know which pin(s) are the culprits, you can apply remedial action.
Spice can be useful here : Feed a fast, high voltage edge into some fF, coupled into some nH with some nominal damping R/C, and you'll see what is needed to kick 'some volts'. eg a sub-ns 1000V edge with a pathway modeled as 30fF, will kick 4V+ on a 50nH PCB trace.
This is why 'relay control' causes so many switching related issues.