Hi E,hi,
You don't need a full program to test the transfer, create a short debug program.
Use a spare master/slave pair of PIC's and plug them into the PCB sockets, unless you are using solder in PIC's??
E
I've just remembered, that there already is a suitable program in the 18F4431 SLAVE.
You will recall writing an SPI exchange pair of programs for each PIC, which exchange SPI DATA. ERIC<>ABCD
This is still in the SLAVE, so anything sent from the MASTER will be sent back.
In the MASTER is an incremental COUNT routine. If the result of this is sent to the SLAVE, then after the initial ABCD is returned, then the SENT numbers are SENT back.
Here is the first result. NOTE: BYTEs are mixed with WORDS so there are errors, which I will try to fix next.
C
Attachments
-
173.6 KB Views: 4