>The problem is that the input/output circuit of the microcontroller is >
> very >
>>complex. It is very difficult to predict exactly what it will do at power >
> up. >
> What happens at power up is specified in the Data Sheet. > Microchip is very clear on this.
> We trust Davyfire to spec their matches. > We trust GOEX to spec their BP. > We trust Aerotech to spec their Motors. > But we can't trust a silicone MFG with their spec??
If Microchip made any claims that the I/O pins were glitch free during power up, then yes. Microchip only states that certain registers are set to particular states as the result of a reset condition. I can find nowhere in the data sheet where they state that I/O pins will power up in a glitch free manner.
Figure 17-8 of the 16F628 data sheet is interesting. This figure shows reset timing. Note that the I/O pins are shown as being in an indeterminate state during power on.
There is alot less variability in silicone MFG than any of the other > products I mentioned. >
There is still variability. Particularly in doping levels across the wafer. The exact behavior of a CMOS pair during power up depends on their gate threshold levels which depends on doping levels.
>>There could be a period when the port is in an undefined state. This is >
> less >
>>likely to occur if your power up is quick. But in the event of a slowly >
> rising >
>>power supply, very bad things could happen. >
>
> Current uControllers do not have issues with this. > They have a brown out detect circuit that works on power up as well as later > on. > It will keep the processor in reset till the power is stable. >
From the 16F628 data sheet concerning the power on reset operation:
"A maximum rise time for Vdd is required. See Electrical Specifications for details."
SVdd is specified as a minimum of 0.05 V/ms