Interrupt Enabled Priority Based Master Slave Communication using SPI Protocol
Deepika1, Jayanthi K Murthy2

1Deepika, Student, Master of Technology, Department of Electronics and Communication, B.M.S College of Engineering, Bengaluru, India.
2Dr. Jayanthi K Murthy, Associate Professor, Department of Electronics and Communication, B.M.S College of Engineering, Bengaluru, India.
Manuscript received on June 17, 2020. | Revised Manuscript received on June 28, 2020. | Manuscript published on July 10, 2020. | PP: 564-567 | Volume-9 Issue-9, July 2020 | Retrieval Number: 100.1/ijitee.I7649079920 | DOI: 10.35940/ijitee.I7649.079920
Open Access | Ethics and Policies | Cite | Mendeley
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC-BY-NC-ND license (

Abstract: Serial Peripheral Interface or SPI is a synchronous serial communication protocol that provides full – duplex communication at very high speeds. It is a master – slave type protocol that provides a simple and low-cost interface between a microcontroller and its peripherals. This paper proposes the design of a priority-based master slave communication system using SPI Protocol that enables the system to operate using interrupts. The design mainly emphasizes on priority-based communication where the slaves will generate an interrupt over a newly defined interrupt pin when some data transfer needs to happen. When the master receives an interrupt from the slave it establishes communication with one slave at a time based on the priority and the priority to each slave is assigned by the arbiter or priority control block. The highest priority slave is served first. Shift register is used to store and transfer the data bit by bit and it resets every time a data transfer is complete. The design proposed here can be implemented in different applications which involve the peripherals that can support SPI protocol for communication such as LCDs, Analog to Digital Converter, Digital to Analog Converter, Memory Cards, Temperature Sensor, Pressure Sensor. In this work, a single master multi slave architecture is considered. The design given in this paper can be scaled up to support more than four slaves. 
Keywords: Arbiter, Master-slave communication, Priority based communication, Serial peripheral interface (SPI).
Scope of the Article: IoT Application and Communication Protocol