
Originally Posted by
mister_e
I have some doubt about it... @POR, Timer1 is already off, CCP as well.
What you experiment is indeed an RMW issue. You don't want to write to successive output bit by bit, this will cause some problem one day or another, and faster your OSC is, more chance you have to see it happen.
What you want to do is to write to the WHOLE PORT at once instead of single bits.
Here:
PORTC=7
PORTC=0
Goto Here
Use shadow register, modify it, then dump it to your specific PORT, that's my suggestion.
PortC value on POR,BOR xxxx xxxx
value on all other resets uuuu uuuu
PortC Data direction Register
value on all resets 1111 1111
My theroy is T1 osc was causing his noise.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks