SPI Slave Interrupt Driven

This code uses the SPI gadget, not the SSP versions. Each byte received generates an interrupt and the handler just echos the bytes.

main.cpp has code to use the library SPI master to test the slave code. To use, jumper MOSI - MOSI (p5 - p11), MISO - MISO (p6 - p12). SCK - SCK (p7 - p13) and SSEL - SSEL (p8 - p14).

/media/uploads/rstofer/spi.zip


Please log in to post comments.