Interesting, I’d have thought it’s the internal RC clock that would be the option wanting to be stabilised,
but really don’t know how the startup of either clock really looks on a scope, etc.
Interesting, I’d have thought it’s the internal RC clock that would be the option wanting to be stabilised,
but really don’t know how the startup of either clock really looks on a scope, etc.
Do you have any basis for that or is it just agut feeling? Is it an RC clock? I can't find in the datasheet what kind of osc the internal 4Mhz clock is, perhaps I didn't look hard enough.I’d have thought it’s the internal RC clock that would be the option wanting to be stabilised
Seems to me the internal osc is physically closer, has optimal caps, and a load of other things I can't think of.
Anyway I think your idea of using an RC to hold MCRL for a short while is vcg's only option if he is uncomfortable turning off PWRT (which he has to to achieve 50Ms reliably).
George
it’s more than a feeling that it’s an RC clock.
You would rarely need any external clock if it were any better, the clock wouldn’t need a calibration value,
and the clock wouldn’t run faster if the chip is powered from a higher than spec voltage.
It’s only a feeling that an RC clock would take the longest time to stabilise than any other option.
Looked in Mid-range family MCU ref manual and you're right, it is an RC clock.
Having read the blurb I was surprised to find that although devices have a calibration value written to them, it is the responsibility of the application to fetch that value and write to the appropriate register.
George
Last edited by towlerg; - 31st March 2015 at 16:38. Reason: old and stupid
That’s a bit rough!Last edited by towlerg; Today at 00:38. Reason: old and stupid
It will loose time with temperature, and any supply voltage fluctuation (batteries).
It’s ultra cheap, you can use serial, but not keep or measure time with it.
That’s an interesting find.
You could probably cycle the calibration value at run time then.
You could probably calibrate it yourself with a good freq counter,Code:for value = mincalvalue to maxcalvalue calvalue = value turn led on pause turn led off pause next value
and double check their work or what they thought was operating temperature.
Does anyone have an answer to the original question?
I'm trying to clean up code and wondering just how much we should pause at program start. I have code with pauses of all sorts of lengths.How long does it take for an 8 bit PIC to stabilize after Power-up?
How about:
- without LCD
- with standard 4x20 LCD
16F18877, also an 8-bit PIC.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Bookmarks