fernando_g
Senior Member
I was playing with a 28X2 had to run quite fast, and therefore I decided to use an external 8Mhz resonator and use the setfreq EM32 function.
Upon debugging the circuit, I noticed that the code was running much slower.
Long story short, I had failed to solder the resonator! Soldering it and the code ran at its proper speed.
This piqued my curiosity and with another 28X2 repeated the experiment, simply toggling an output and measuring the output frequency, with the same result.
Experimenting with different setfreq values, I noticed that the resonator-less is identical to the default M8.
If this is a 28X2 feature, it is brilliant! Even in the case of crystal or a solder joint failure, the ability of the processor to continue running is very valuable indeed.
If so, it should be documented.
Upon debugging the circuit, I noticed that the code was running much slower.
Long story short, I had failed to solder the resonator! Soldering it and the code ran at its proper speed.
This piqued my curiosity and with another 28X2 repeated the experiment, simply toggling an output and measuring the output frequency, with the same result.
Experimenting with different setfreq values, I noticed that the resonator-less is identical to the default M8.
If this is a 28X2 feature, it is brilliant! Even in the case of crystal or a solder joint failure, the ability of the processor to continue running is very valuable indeed.
If so, it should be documented.