Check the tracks with a meter. I've seen vias with internal cracks cause invisible opens, especially when there is solder resist over them.
Check the tracks with a meter. I've seen vias with internal cracks cause invisible opens, especially when there is solder resist over them.
Start replacing components. Start with the pull-ups resistors, then the sensors and the PIC. If the problem persists then trash the board.
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Many thanks for your reply. I'll try replacing the pull up res' but the sensors/PIC will be tricky. I don't think it's the res as the line is going high to 3.3V. As you rightly point out, there's only so long one should spend on something like this before trashing it. I just like to know the root cause of the issue. Because everything is surface mount, there's always the danger of trashing the board when heat gunning components. All part of the fun I guess...
Should? maybe
Will? Only a deep dive into the datasheet can be sure of that.
PIC18F26J53 har PPS (periphial pin select or how it is spelled, menaing you can re-route HW functions to different pins)
So what PIN on the device and what PORT-id do you use?
I would not bet that all pics always gets all registers set up exactly the same everytime.. so there might be a conflict that is because of a register setting.
Before I start pulling components I would advise you to give us more details about the device setup and configuration...and PPS register settings
Hi,
Have you verified the value of the pullup resistor? Perhaps it's 10ohms instead of 10k or whatever it's supposed to be. The PIC can only pull so hard on the pin, if the pullup is too stiff it won't be able to get it all the way to Vss.
I was going to suggest to lift the pin in question and measure directly on the pin but with a QFN that won't be easy. Make sure you measure from the pin in quesion to adjacent pins, perhaps there's a solder bridge under the chip.
/Henrik.
Put your pin to input, then measure current between ground and pin.
IF current is few mA THEN pic is problem
IF current is much bigger THEN
Remove pull up
Measure again
ENDIF
IF any current exist THEN
Problem is in sensor or pcb
Remove sensor
measure current.
IF any current exist THEN
pcb have short
ELSE
Problem is in sensor
END IF
Bookmarks