Serial Peripheral Interface (SPI)

2016 ◽  
pp. 335-349 ◽  
Author(s):  
Cliff Wootton

The need for miniaturization has been the driving force in chip manufacturing. The proliferation of IoT, robotics, consumer electronics and medical instruments pose unprecedented demands on the embedded system design. The area optimization can be achieved either by reducing the size of transistors or by optimizing (reducing) the circuit at the gate level. The first solution has attracted many researchers while the later has not been explored to its full potential. The aim is to design a System on Chip (SoC) to satisfy the dynamic requirements of disruptive technologies while occupying the lesser area. The design and testing of communication interfaces such as Serial Peripheral Interface (SPI), Inter-IC Communication (I2C), Universal Asynchronous Receiver and Transmitter (UART) are very crucial in the area optimization of microcontroller design. Since SPI being an important communication protocol, this work reports the preliminary research carried in the design and verification of it. In this work, Verilog is used for the design and verification of the SPI module. The results show that there is a drastic reduction in the number of Look-Up-Tables (LUTs) and slices required to build the circuit. We conclude that sophisticated optimization techniques of the circuit at the gate level has the potential to reduce the area by half.


2019 ◽  
Vol 28 (supp01) ◽  
pp. 1940003
Author(s):  
Hassan Ebrahimi ◽  
Hans G. Kerkhoff

The reliability of board-level data communications intensively depends on the reliability of interconnections on a board. One of the most challenging interconnections reliability threats is intermittent resistive faults (IRFs). Detecting such faults is a major challenge. The main reason is the random behavior of these faults. They may occur randomly in time, duration and amplitude. The occurrence rate can vary from a few nanoseconds to months. This paper investigates IRF detection at the board level by introducing a new digital in situ IRF monitor. Hardware-based fault injection has been used to validate the proposed IRF monitor. As case studies, two widely used on-board transmission protocols namely the Universal Asynchronous Receiver Transmitter (UART) and the Serial Peripheral Interface bus (SPI), have been used. In addition, one fault management framework, based on the IJTAG standard, has been implemented to collect and characterize information from the monitors. The experimental results show that the proposed monitor is effective in detecting IRFs at the board level.


2011 ◽  
Vol 1 ◽  
pp. 97-101
Author(s):  
Hong Sun

The automated fingerprint identification algorithm has high time and space complexity in the embedded system. How to reduce the complexity is one of the hot research topics. The process of fingerprint identification and choice of algorithm platform are analyzed in the paper. Design of embedded fingerprint identification hardware system based on DSP, including the selection of microprocessor and fingerprint sensor and the communication between them, is introduced in detail. In additional, main software composition and flow are explained. At last, serial peripheral interface communication is simulated.


2011 ◽  
Vol 291-294 ◽  
pp. 2658-2661 ◽  
Author(s):  
Xiao Chun Tian ◽  
Jie Li ◽  
Yu Bao Fan ◽  
Xi Ning Yu ◽  
Jun Liu

SPI (Serial Peripheral Interface) is a full-duplex serial communication interface bus. Now, many devices adopt SPI. However, in many other aspects, microcontroller and microprocessor have no SPI interface, data transmission is inconvenient. With the development of FPGA technology, the problem can be solved absolutely by the I/O port of FPGA. In this paper, after introducing the principle of SPI, we designed SPI interface with FPGA and implemented the communication between SPI interface and the device of CRG20 which has a SPI interface. The algorithm of design SPI interface through FPGA is implemented with VHDL. The results of simulation in Quartus II and FPGA simulation are also described. The SPI bus interface modules fulfill the goal demanded.


Author(s):  
Farid Baskoro ◽  
Miftahur Rohman ◽  
Aristyawan Putra Nurdiansyah

Serial Peripheral Interface (SPI) is a synchronous serial communication whose data or signal transmission involves Chip Select (CS) or Slave Select (SS) pins, Serial Clock (SCK), Master Out Slave In (MOSI), and Master In Slave Out (MISO). In the Arduino Uno, there are four pins that allow Arduino Uno to perform SPI communication. In this research, SPI communication is implemented to expand the output of the Arduino Uno by using the features of the MCP23S17 IC so that the Arduino Uno, which initially has 20 output pins, can expand to 36 output pins.The results of the research show that the Arduino Uno manages to control 36 output pins. 16 output pins from the MCP23S17, 16 output pins from the Arduino Uno, and 4 pins are used for the SPI communication line. The results of this study also show the form of the SPI communication signal from Arduino Uno in declaring 21 registers on MCP23S17, declaring the MCP23S17 pin register as output, and implementing the output using LEDs.


2019 ◽  
Vol 8 (4) ◽  
pp. 10020-10024

Software Defined Radio plays vital role in many applications as the components in it are software selectable. We can select desired frequency and modulation technique which can be selected through software. The desired frequency selected should be locked in phase locked loop (PLL). The desired frequency is selected by giving commands from Graphical User Interface (GUI) using Universal Asynchronous Receiver Transmitter (UART) and Serial Peripheral Interface (SPI) protocols.GUI is created using Qt creator which is a cross platform C++ and java script Integrated Development Environment (IDE). GUI is designed to generate the desired frequency. As soon as we select a frequency, the corresponding address and data are generated to configure in the Radio Frequency (RF) transceiver. These address and data are first sent to the PIC microcontroller by communicating through UART protocol and after setting data format, these are sent from Peripheral Interface Controller (PIC) to RF transceiver by communicating through SPI protocol. With this process, the registers in RF transceiver are controlled by the user


Sign in / Sign up

Export Citation Format

Share Document