Hi there,
Wanting to learn about SPI communication using the PIC's hardware feature, I've slightly adapted both SPIMAST and SPISLAVE examples to make them fit into a PIC 16F690.
But I've been struggling for hours trying to make them work with no too much luck.
Unfortunately, I don't have a data/logic analyzer so I trust my oscillo to show me some "activity" on the SDO ports.
With the adapted code(s) here under, SPIMAST_16F690 is sending something. Unfortunately, SPISLAVE_16F690 doesn't "answer" (no signal on SDO).
Since I haven't any 40 pin PIC around, I can't test the example program(s) as is (...are) so I might miss something.
But what?
Wanting to learn about SPI communication using the PIC's hardware feature, I've slightly adapted both SPIMAST and SPISLAVE examples to make them fit into a PIC 16F690.
But I've been struggling for hours trying to make them work with no too much luck.
Unfortunately, I don't have a data/logic analyzer so I trust my oscillo to show me some "activity" on the SDO ports.
With the adapted code(s) here under, SPIMAST_16F690 is sending something. Unfortunately, SPISLAVE_16F690 doesn't "answer" (no signal on SDO).
Since I haven't any 40 pin PIC around, I can't test the example program(s) as is (...are) so I might miss something.
But what?