Mysterious pulses on input pins
This is for the next guy.
I was having all sorts of unpredictable effects on a 16F18877, countless days lost trying to debug the root of the problem.
So I started a new program, importing features one at a time: HSEROUT, IOC, WPU, INLVL, PPS, each with a bit of code, and so on.
Turns out I had dead LCDOUTs at the very bottom that were sending pulses to default pins. All sorts of mayhem, in my case, pin A4 (Register Select according to my old PCP manual).
Unfreaking-believable...
Re: Mysterious pulses on input pins
Come on man...
Really?
Well, I will repeat the ESD thing again. Be carefull with the electrostatic charges. Be grounded at all times, no matter what you wear or what kind of floor mat is on the floor.
This LCD sure it was not dead when connected...
Ioannis
1 Attachment(s)
Re: Mysterious pulses on input pins
Quote:
Originally Posted by
Demon
...Turns out I had dead LCDOUTs at the very bottom that were sending pulses to default pins...
Ioannis, you misunderstood. Dead LCDOUTs, not dead LCDs. :p
I forgot to take out the commands when I migrated from my breadboard for preliminary tests (on the left), to the larger circuit on the right.
Now the rotary encoders and ADC are handled by the PIC upper left, switches will be handled by upper right (not implemented yet), USB will be lower right and outputs are handled by the lower left (LCDs and future LEDs).
The right side is not implemented yet. I wanted to get the 16F18877 on the left working properly first (IOC, ADC, PWM, USART, that sort of stuff).
Attachment 9768
Re: Mysterious pulses on input pins
Oh,sorry. I re-read that now...
Well, it is still unbelievable...
Ioannis