Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of SPI transmission control method, sending equipment and receiving equipment

A technology for transmission control and data reception, which is applied in the field of data transmission, and can solve the problems of non-adjustable number of transmission bits, inability to realize high-order transmission, analog clock and cumbersome timing of data, etc.

Active Publication Date: 2021-08-17
上海灵动微电子股份有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, at present, data transmission is performed by simulating SPI devices, which is prone to cumbersome software programming GPIO analog clock and data and difficult timing control problems.
However, the existing hardware SPI device performs data transmission, the number of transmission bits cannot be adjusted, and the function of high-order transmission in front cannot be realized

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
  • A kind of SPI transmission control method, sending equipment and receiving equipment
  • A kind of SPI transmission control method, sending equipment and receiving equipment
  • A kind of SPI transmission control method, sending equipment and receiving equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0053]It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude one or more other Presence or addition of characteristics, wholes, steps, operations, elements, components and / or collections.

[0054] In order t...

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 present invention provides a SPI transmission control method, a sending device and a receiving device. The method includes: writing data to be sent to a sending register through a processor; Arranged in order from left to right, and the number of digits is sent in the low-order data first, write the data to be sent to the sending queue; when the number of digits of the written data to be sent is sorted from high to low Arranged in order from left to right, and the number of digits is sent in such a way that when high-order data is transmitted first, data conversion is performed on the written data to be sent, and the data to be sent after data conversion is written into the sending queue; The data to be sent is sent byte by byte. The present invention realizes the function that the number of transmission bits can be adjusted by configuring the bit width of the register and performing data conversion, and the high bit of data is transmitted in front.

Description

technical field [0001] The invention relates to the technical field of data transmission, in particular to an SPI transmission control method, a sending device and a receiving device. Background technique [0002] SPI (Serial Peripheral Interface, serial peripheral port), is a high-speed full-duplex communication bus. It uses three buses and one or more chip select lines for data transfer between master and slave devices. The three buses are SCLK (Serial Clock, clock signal), MOSI (Master Output / Slave Input, master data output / slave data input), MISO (Master Input / Slave Output, master data input / slave data output) , The chip select line NSS (Slave Select) is used by the master device to select a slave device on the bus and communicate with it. [0003] However, at present, data transmission through analog SPI devices is prone to cumbersome software programming GPIO analog clock and data and difficult timing control problems. However, in existing hardware SPI devices for d...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/42
CPCG06F13/4282
Inventor 杨帆刘萌田世甦张波吴忠洁
Owner 上海灵动微电子股份有限公司