2 Attachment(s)
Program to fully test the propeller for new QFN-DIP40 module?
So, I just got my PCBs for my QFN to DIP40 (plus EEPROM/xtal/propplug hdr) module (that I am calling the M44D40+) and even though it may be a while before I get one made up, I am thinking of how to test them. Anyone have a SPIN program that exercises all pins for input and outputs like the Basic Stamp tester does for the stamp? I know I could do something that simple, but shouldn't I test video generation, multiple cogs, etc, or use the "if it works, it works" concept?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
PowerTwig Dual Output Power Supply Module
My Prop projects: Reverse Geo-Cache Box, Custom Metronome, Micro Plunge Logger
Post Edited (WBA Consulting) : 7/13/2010 6:04:24 PM GMT
5 Attachment(s)
Re: Program to fully test the propeller for new QFN-DIP40 module?
Made a little bit of headway today...... Also shown with one of my "3x20Twigs" for top side access to pins.
Re: Program to fully test the propeller for new QFN-DIP40 module?
Re: Program to fully test the propeller for new QFN-DIP40 module?
Hi Andrew,
While there is a remote (very remote, I should think) possibility that the Prop itself is bad, the tests should initially focus on the external wiring. My first test of all uncommitted (floating) pins is the charge and discharge exercise using the gate capacitance as dynamic memory to test for shorts or leakage between pins and to the power supplies. It goes like this. Set all uncommitted pins for output low. Set same pins for input. Wait 0.01 second (configurable). Check same pins. All should still be low. Do the same for output high, delay, test for high. Do the same for alternating pattern %101010... Then the same for opposite alternating pattern %010101... It is also possible to include inputs that have pullups or pulldowns, but of course the expected state should always be high or low and a discrepancy indicates an open connection to the Prop.
The circuit like the RC Stamp tester is even better, because it better tests for open connections from the pads to the circuit, and higher drive current capability. It tests all uncommitted pins for capability of output high, low and input, and detects shorts or leakage between pins and to the power supply rails.
For pins that are dedicated to function, serial port, eeprom, reset, and other peripherals, test for function and if it works, that is a pretty good indication that the prop connections are good. If it doesn't, well, troubleshooting starts!
Put the board through a temperature cycle to help reveal cold solder joints. Test the chip on a current limited supply while monitoring voltage and current, to detect power supply connection issues. Take the chip to RCslow to test power leakage.
1 Attachment(s)
Re: Program to fully test the propeller for new QFN-DIP40 module?
Tracy: Thanks, I'll check into that now that I have complete ones built up as a pilot run. Works excellent on my PPDB!
2 Attachment(s)
Re: Program to fully test the propeller for new QFN-DIP40 module?
Here are some of the pics... I will get more if you want:)
Re: Program to fully test the propeller for new QFN-DIP40 module?
FYI to others: Ravenkallen is utilizing one of my M44D40+ modules in a project as well as providing some feedback from an end user standpoint. I forgot to take pictures of the completed modules before I shipped them out to him. I am working on getting another handful made as soon as I finish my thermistor tester project for work.
Good shots, thanks. Maybe a side or end profile too to show how the stackable headers compare to the height of the EEPROM and crystal.
Re: Program to fully test the propeller for new QFN-DIP40 module?
This looks like a really good idea for bread boarding.
Re: Program to fully test the propeller for new QFN-DIP40 module?
As old as this thread is I do not know if you are done testing.
It seems that best way would be to generate a 1280x1024 VGA signal, using only 2 pins at a time for video data (plus 2 for sync of course), starting with P31 and P30, and going down by a pair until you reach P3 and P4. Then display a 64x64 checker board pattern. Once this is done repeat with 3 cogs, and 6 video signal (8 including sync) pins with each cog driving 2 pins, start with group 24-31 and move down from there. This should make any errors very self apparent, as I you will see distortions in the image if the board is creating to much unwanted noise of any type. Also for both sets of tests you will want to display a pattern of 1 pix wide vertical stripes separated by 1 pixel. And f course use your scope.
I hope that I am not to late to dinner here. I came up with this simple test because I was noticing some strange behavior sometimes and it looked good on the scope, but this showed me that there was noise that my scope could not show me (later verified with a better scope).
Re: Program to fully test the propeller for new QFN-DIP40 module?
I have finished initial testing using my Hydra and created a ZIF socket adapter for my PPDB, but still need to develop a setup for production runs. I am way behind on this project due to lack of spare time. I have over 500 fabs waiting to be populated with parts. The only thing I don't have to get these rolling is the Propeller itself and a free Saturday to do the first run.I am hoping to have a good size batch for UPEW and then go from there.