You are in:Home/Publications/A State Machine-Based Approach for Implementing SPI Communication on FPGAs

Assist. Ayman Sayed Ahmed Abdelaziz :: Publications:

Title:
A State Machine-Based Approach for Implementing SPI Communication on FPGAs
Authors: Ayman Shama; Manar Lashin; Ayman Nada
Year: 2025
Keywords: Serial Peripheral Interface (SPI); LabVIEW; Serial Communication; FPGA; NI SbRIO-9631
Journal: Benha Journal of Applied Science
Volume: 9
Issue: 5
Pages: 127-134
Publisher: Not Available
Local/International: Local
Paper Link:
Full paper Ayman Sayed Ahmed Abdelaziz_BJAS_Volume 9_Issue 5_Pages 127-134.pdf
Supplementary materials Not Available
Abstract:

The Serial Peripheral Interface (SPI) is a widely used synchronous serial communication bus that facilitates communication between a master device and one or more subordinate devices, referred to as slave devices. This article outlines the conceptualization and design procedures of an interface for the SPI communication bus on a Field Programmable Gate Array (FPGA) platform, using the LabVIEW programming environment alongside the LabVIEW FPGA module. The structure and operation of the SPI communication bus are presented, along with its timing structure and four distinct operational modes. The implementation of SPI bus communication on the FPGA is achieved via the use of the state machine methodology. With the state-machine SPI technique, multiple devices can be managed simultaneously through a single port. Additionally, the clock frequency can be adjusted online, making the system adaptable and flexible for different tasks. LabVIEW is used to implement the SPI module circuit, which is then mapped onto the National Instruments Single-Board (NI SbRIO-9631) FPGA board. The L3G4200D gyroscope sensor is used to conduct testing on the protocol and verify the effectiveness of the state machine technique. The results of this study demonstrate the successful implementation of the SPI communication bus interface on an FPGA using LabVIEW and the LabVIEW FPGA module. The module exhibits versatility, efficiency, and the ability to communicate with a wide range of devices.

Google ScholarAcdemia.eduResearch GateLinkedinFacebookTwitterGoogle PlusYoutubeWordpressInstagramMendeleyZoteroEvernoteORCIDScopus