T
treez
Guest
Setting of Configuration bits for PIC18F26K20. ("HFOFST ON" and "PWRT OFF")
Hello,
Our remote software engineer has written C code for our PIC18F26K20 controlled offline LED driver. Some of the PCBs work and some don’t.
We noticed that in his configuration bits he has chosen to disable the Power Up Timer [“PWRT OFF”], and also he has chosen “HFOFST ON” (this means that the HFINTOSC starts clocking the CPU without waiting for the oscillator to stabilise).
These seem like unnecessary risks to take? Surely there is no benefit in these selections, but only an increased chance of things going wrong?
Hello,
Our remote software engineer has written C code for our PIC18F26K20 controlled offline LED driver. Some of the PCBs work and some don’t.
We noticed that in his configuration bits he has chosen to disable the Power Up Timer [“PWRT OFF”], and also he has chosen “HFOFST ON” (this means that the HFINTOSC starts clocking the CPU without waiting for the oscillator to stabilise).
These seem like unnecessary risks to take? Surely there is no benefit in these selections, but only an increased chance of things going wrong?