Re: Code stuck waiting for SPI transmission but only after power-up
2010-03-12 by Andrew Mathison
Hi, I have to agree witrh those talking about power problems, it sounds to me also like a typical "brown out" problem.... If it was happening to me, I would be using a 'scope and a good DVM - Together! To analyse the problem as best I could..... If I understood you correctly, you made changes to the power in some manner (why as any normal PC supply delivers a good stable voltage!) BUT, a PC power supply is generally a switched mode power supply and putting a linear regulator after it is HIGHLY NOT recommended!!!! Also a linear regulator needs some "headroom", after a PC power supply THERE IS NO HEADROOM left here !!!! I think this is your problem!! The linear regulator is dropping anything up to 2.5 volts.......depending upon its type and the actual load of course..... I am a great believer in "Belt & Braces (suspenders for you yanks!!)", but here its WRONG WRONG WRONG..... And doing it without checking/using a DVM/Scope is also WRONG WRONG WRONG..... I hope this helps you further..... Greetings from Andy Mathison [Non-text portions of this message have been removed]