SPI slave device, SPI communication system and SPI communication method

A communication method and equipment technology, which is applied in the field of data transmission, can solve the problems of SPI data loss, lack of work safety guarantee and transmission safety guarantee, and lack of efficiency of SPI slave equipment, so as to achieve small batch data transmission and overcome the problem of single working mode Effect

Active Publication Date: 2016-04-06
杭州士兰控股有限公司
View PDF4 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. The working mode is single. The SPI slave device based on the SPI protocol uses the same working method when transmitting small batches of data and large batches of data, making the SPI slave device either inefficient or inflexible;
[0004] 2. The storage space that the SPI slave device can access to the SPI master device is relatively small, only 16M;
[0005] 3. If two different clock signals are used in the SPI slave device, using an asynchronous FIFO (first-in-first-out) buffer will result in a complex structure, difficult to control, and delay, and the transmission data rate is low;
[0006] 4. When communicating between the SPI master device and the SPI slave device, there is no work safety guarantee and transmission safety guarantee, which may easily cause data loss or destruction in the SPI slave device, and transmit data errors; on the other hand, the traditional SPI slave device does not support The verification of pre-stored data and actual stored data cannot guarantee the integrity of data transmission

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SPI slave device, SPI communication system and SPI communication method
  • SPI slave device, SPI communication system and SPI communication method
  • SPI slave device, SPI communication system and SPI communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The SPI slave device, the SPI communication system and the SPI communication method proposed by the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Advantages and features of the present invention will be apparent from the following description and claims. It should be noted that all the drawings are in a very simplified form and use imprecise scales, and are only used to facilitate and clearly assist the purpose of illustrating the embodiments of the present invention.

[0027] [SPI slave device]

[0028] Please refer to figure 1 , which is a schematic diagram of a system framework of an SPI slave device according to an embodiment of the present invention. Such as figure 1 As shown, the SPI slave device 1 includes: an SPI controller 10 and a storage module 20; the SPI controller 10 is used for data transmission with an SPI master device 2, and the SPI controller 10 supports data mode...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an SPI slave device, an SPI communication system and an SPI communication method. The SPI slave device can work in a mode selected from two data transmission modes including a data mode and a command mode; therefore different storage spaces of the SPI slave device are accessed by an SPI master device; especially in the data mode, the storage space of the SPI slave device expanded to 4G can be accessed by the SPI master device and large-amount data transmission is realized; while in the command mode, the unexpanded storage space of the SPI slave device can be accessed by the SPI master device and small-amount data transmission is realized; and the problems that the working mode of the traditional SPI slave device is single and the storage space of the SPI slave device capable of being accessed by the master device is small are solved.

Description

technical field [0001] The invention relates to the technical field of data transmission, in particular to an SPI slave device, an SPI communication system and an SPI communication method. Background technique [0002] When the traditional SPI slave device (Slavedevice) based on the SPI (SerialPeripheralInterface, Serial Peripheral Interface) protocol communicates with the SPI master device (Masterdevice), there are the following defects: [0003] 1. The working mode is single. The SPI slave device based on the SPI protocol uses the same working method when transmitting small batches of data and large batches of data, making the SPI slave device either inefficient or inflexible; [0004] 2. The storage space that the SPI slave device can access to the SPI master device is relatively small, only 16M; [0005] 3. If two different clock signals are used in the SPI slave device, using an asynchronous FIFO (first-in-first-out) buffer will result in a complex structure, difficult...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F13/42
CPCG06F13/4282
Inventor张华王相如
Owner杭州士兰控股有限公司