Safe and reusable single program initiation (SPI) peripheral interface circuit

A technology of peripheral interface and interface circuit, applied in the direction of electrical digital data processing, instruments, etc., can solve the problem of easy errors in data transmission, and achieve the effect of saving bandwidth and ensuring security.

Inactive Publication Date: 2011-11-02
ZHEJIANG UNIV
View PDF3 Cites 56 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But when the SPI interface is working, there is no response signal, and there is no parity bit when the data is sent, so t

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
  • Safe and reusable single program initiation (SPI) peripheral interface circuit
  • Safe and reusable single program initiation (SPI) peripheral interface circuit
  • Safe and reusable single program initiation (SPI) peripheral interface circuit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be further described below in conjunction with the accompanying drawings.

[0032] refer to Figure 1 ~ Figure 1 0, a safe and reusable SPI peripheral interface circuit, including the following conventional peripheral interface circuit modules: data buffers, used to buffer received data Rx_FIFO and sent data Tx_FIFO; interrupt and DMA control modules, used to notify CPU or DMA to send or Receive data; the register control module is used to configure the timing control between registers and modules; the APB Slave interface module is used to interact with the CPU based on the APB bus to realize the configuration of the interface circuit register and the reading of the working status of the interface circuit; The frequency module is used to generate 2-256 arbitrary frequency division clocks to external devices to achieve flexible configuration of the baud rate. The secure transmission module, including two parts of the sending circuit and the re...

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 discloses a safe and reusable single program initiation (SPI) peripheral interface circuit. The circuit comprises a data buffer, an interruption and direct memory access (DMA) control module, a register control module, an advanced peripheral bus (APB) Slave interface module, a clock fractional frequency module, a command resolving module and a safe transmission module, wherein the data buffer is used for buffering receive data (RXD) and transmit data (TXD); the interruption and DMA control module is used for supporting two different types of data processing modes, namely an interruption mode and a DMA mode; the register control module is used for allocating sequential control between a register and modules; the APB Slave interface module is used for interacting with a central processing unit (CPU) based on an APB; the clock fractional frequency module is used for generating 2-256 random fractional frequency clocks to an external device to realize flexible allocation of baud rate; the command resolving module is used for resolving a command from a host machine when working mode of an interface circuit is in a slave mode; and the safe transmission module is used for transforming transmission data from series connection to parallel connection and vice versa and guaranteeing data transmission safety by virtue of a cyclic redundancy check (CRC) algorithm and an automatic repeat request (ARQ) technology. The safe and reusable SPI peripheral interface circuit supports switch between a major mode and a slave mode, and guarantees the data transmission safety.

Description

technical field [0001] The invention relates to a peripheral serial bus SPI interface, in particular to a safe and reusable SPI peripheral interface circuit. Background technique [0002] The serial peripheral interface (Serial Peripheral Interface, SPI) bus was originally launched by Motorola, and was later handed over to the OPENCORES organization for maintenance. The SPI bus is a full-duplex, synchronous, serial data interface standard bus with two working modes, Master and Slave. Compared with other serial buses, it has the advantages of simple circuit structure (only four interface lines), fast speed, etc. It has been widely used in the rapid development of integrated circuits in recent years. A large number of new devices such as LCD modules, FLASH, EEPROM memories, data input and output devices, etc. have adopted the SPI interface. However, when the SPI interface is working, there is no response signal, and there is no parity bit when the data is sent. Therefore, th...

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/32
Inventor 沈海斌严军吴新榕
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products