Hi E,
How do I correct this possibility? Do I add a define TRISC after each peipheral READ?
C.
Hi E,
Hi E,hi,
You have to determine which peripherals are also using PORTC.
If you just do a TRISC, you may lock out a peripheral thats been defined in PORTC.
So which peripherals are using PORTC.??
E
View attachment 197893
Hi E,hi,
If you are able to do a Bit Write to the Unused pins on PORTC.?
If this PORTC Bits are committed, in what way are you trying to use PORTC that is causing a problem.?
E
18LF is acting as SPIMASTER, to AK8963C.hi,
I assume the 18F is acting as the Master in the SPI interconnect to AK8... ?
As MISO is an Input to the 18F ie: Master In Slave Out, how can the 18F be pulling the MISO pin down to 1.8V
The AK must be setting the MISO pin to 1.8V.
Test: disconnect the MISO input to the 18F,,,, add a 1k pull down from the AK out pin to 0V, what voltage do you measure on the AK output pin.??
BTW: when I said Bit writes , I thought you were trying to use those used PORTC pins
Hi E,hi,
That test shows that the AK can pull up 3v at 3mA, keep that connected for now. ie: MISO open circuit
Now connect a 1k from the 18F MISO pin to +3.3V.
What voltage do you measure on the MISO pin.??
E
Hi E,hi,
I would say that there are three possible causes.
1. the pin has been set as an Output and Low State in the program.
2. if set as an Input, the pin is 'blown' internally.
3. There is PCB track problem
E
Hi E,hi,
I would say that there are three possible causes.
1. the pin has been set as an Output and Low State in the program.
2. if set as an Input, the pin is 'blown' internally.
3. There is PCB track problem
E
Hi E,hi,
Do you have a clear image of an unassembled PCB that you could post, I assume its single sided.?
E
Hi E,hi C,
What are the lengths of the interlinks.?
The 12Meg and 15Meg are what I would expect.
I don't follow.?
resistance between the MISO and the PIN is '0'
A simple sketch is often more helpful.
E