I've got a main pcb board with a GPS unit where the GPS tx pin is transmitting GPS data to pin D5 on an 18F4525 which is on the same board. Ok it doesn't work. I get no data using the the SERIN2 command. Now I have a test board with an 18F4525 on it as well. So I connect the GPS pin to this test board making sure I connect it to Pin D5 as well. Works fine. Even though I'm powering the GPS unit from my main PCB board, the test board reads the data fine (both boards have a common ground). So I know the GPS is working fine so maybe there is something wrong with Pin D5 on my main pcb board. So I send serial data from the test board to pin D5 on the main pcb board. Dang if it doesn't read it just fine! To make sure I take a spare GPS unit and power it from the test board and send the tx line to the main pcb board and it reads the GPS data just fine. What the heck!!! Pin D5 on my main pcb board works fine. Now I noticed that if I power the spare GPS unit with the main pcb board and read the tx line on the test board, I get nothing. If I power the spare GPS unit from the test board and read it on the test board's PIC it works fine. The GPS unit sucks about 45 mA and I have plenty of juice for it. To test whether or not I could have a bottle neck in the power supply, I powered a small radio (which sucks down 200mA) on the same power circuit that I power the GPS unit with on the main pcb board and it works fine. I feel like the laws of physics are bending. I'm going nuts trying to figure out this problem. Any help would be greatly appreciated.
Eric
Bookmarks