Hi,
I have a PCB, with 2x PIC on, 18F4620 and 18F4431.
The 18F4620 has SPI peripherals: Altimeter, Compass, Radio and Screen. Also is an incremental encoder on 18F4431 connected via software serial
EDIT: NOT SPI
I'm getting an error with the Compass module, and I've been testing it to find where the problem lies, with help from this forum.
The error shows when the COMP shows 306.22 Degrees (It also show this when the COMP is not connected) The readings from Oscilloscope and Analyser shows the COMP is getting it's C/S, and all of the SPI DATA at the PIC.
When I switch OFF/ON the error may or may not appear.
The Voltage shows no dips, on power up.
Once the PIC is running correctly, (while still powered) I can disconnect/connect peripherals, also the programmer, with no affect. The same result when it starts in error.
I've tried changing timings between the READings.
I have a second board that acts the same.
To me it seems to be a PIC start-up problem, but I'm not expert enough to know where to look for it.
Any suggestions for tests, please.
Cheers, Camerart.
I have a PCB, with 2x PIC on, 18F4620 and 18F4431.
The 18F4620 has SPI peripherals: Altimeter, Compass, Radio and Screen. Also is an incremental encoder on 18F4431 connected via software serial
EDIT: NOT SPI
I'm getting an error with the Compass module, and I've been testing it to find where the problem lies, with help from this forum.
The error shows when the COMP shows 306.22 Degrees (It also show this when the COMP is not connected) The readings from Oscilloscope and Analyser shows the COMP is getting it's C/S, and all of the SPI DATA at the PIC.
When I switch OFF/ON the error may or may not appear.
The Voltage shows no dips, on power up.
Once the PIC is running correctly, (while still powered) I can disconnect/connect peripherals, also the programmer, with no affect. The same result when it starts in error.
I've tried changing timings between the READings.
I have a second board that acts the same.
To me it seems to be a PIC start-up problem, but I'm not expert enough to know where to look for it.
Any suggestions for tests, please.
Cheers, Camerart.
Last edited: