SPI

APPLICATION FILE PAGE

SPI.DSN

SPIM.ASM

SPIST.ASM

SPISR.ASM

Proteus VSM design file created as ISIS interactive schematic

Source code file – MASTER PROGRAM (U1)

Source code file – SLAVE TRANSMITTER (U2)

Source code program – SLAVE RECEIVER (U3)

 

OPERATION

 

This system demonstrates SPI serial communication. Each chip has its own program.

 

Plain BCD numerical data is generated by the slave transmitter from a thumbwheel switch, and read by the master using the slave select input.

 

The master then re-sends the same data to the slave receiver, which responds to an SPI interrupt when data input is detected.