Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Synchronous serial communication interface and communication method thereof

A technology of synchronous serial communication and communication method, which is applied in the field of synchronous serial communication interface, can solve problems such as errors, reading and writing flag bits and data field mutations, and achieve the effects of reducing the probability of misoperation and simplifying hardware circuit design

Active Publication Date: 2013-12-04
HANGZHOU VANGO TECH
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a communication method of a synchronous serial communication interface, which is used to solve the problem that the reading and writing flag bits and data fields in the existing communication method of the synchronous serial communication interface are easily subject to electromagnetic interference, resulting in sudden changes and errors.

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
  • Synchronous serial communication interface and communication method thereof
  • Synchronous serial communication interface and communication method thereof
  • Synchronous serial communication interface and communication method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The synchronous serial communication interface implementing the present invention needs to be provided with three necessary pins: a clock input pin (SPCK), a data input pin (SPDI) and a data output pin (SPDO). In addition, this synchronous serial communication interface can also have two optional pins: chip select input pin (SPCSN) and communication status output pin (SPIERR).

[0033] see figure 1 and figure 2 As shown, the communication method implementing the synchronous serial communication interface of the present invention uses fixed-length data frames for communication. The data frame received by the synchronous serial communication interface and the data frame sent both include 32 bits, which are composed of 4 parts, namely the start bit (2 bits), the command area (CMD, 6 bits), the data area (including DATA H and DATA L, a total of 16 bits) and a checksum (CKSUM, a total of 8 bits).

[0034] On every rising edge of the clock input pin (SPCK), one bit of dat...

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 communication method of a synchronous serial communication interface. According to the communication method of the synchronous serial communication interface, data frames are adopted to perform communication, wherein each data frame includes a start bit, a command area, data areas and a checksum, wherein the command area is used for determining the effect of a current data frame, the data areas is data which are transmitted according to commands in the current data frame, and the checksum is check values for checking the start bit, the command area and the data in the data areas of the data frame; after the communication of each data frame terminates, both sides of communication clearly know whether faults occur in communication; and at the same time, read-write operation marks can be obtained through command field decoding. Read-write operation can be obtained through multi-bit decoding, such that the probability of misoperation caused by interferences can be reduced. Read-write mark bits and data fields in an existing communication method of a synchronous serial communication interface are vulnerable to electromagnetic interference, as a result, mutations will occur on the read-write mark bits and the data fields, and errors will be produced, while with the communication method of the invention adopted, the problem can be solved.

Description

【Technical field】 [0001] The invention belongs to the field of digital signal circuit design and communication technology, in particular to a communication method of a synchronous serial communication interface and the synchronous serial communication interface. 【Background technique】 [0002] In an integrated circuit, especially a non-on-chip system chip without a central processing unit, the serial communication interface is a very important circuit unit. The serial communication interface communicates using a serial data format, thus saving the input and output interfaces of the integrated circuit. The external circuit can communicate with the integrated circuit through the serial communication interface, configure the registers in the integrated circuit, and read the required data from the integrated circuit. [0003] There are currently two ways of serial communication, asynchronous serial communication and synchronous serial communication. Synchronous serial communic...

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): H04L1/00
Inventor 赵岩杨昆
Owner HANGZHOU VANGO TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products