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

SPI transmission control method, sending device and receiving device

A technology for transmission control and data reception, which is applied in the field of data transmission and can solve the problems of unadjustable transmission bits, complicated timing of analog clocks and data, and inability to achieve high-order transmission.

Active Publication Date: 2020-04-24
上海灵动微电子股份有限公司
View PDF10 Cites 1 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
  • SPI transmission control method, sending device and receiving device
  • SPI transmission control method, sending device and receiving device
  • SPI transmission control method, sending device and receiving device

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 to...

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 (Serial Peripheral Interface) transmission control method, sending device and receiving device. The method comprises the following steps: writing to-be-sent data into a sending register through a processor; writing the to-be-sent data into a sending queue when the digit sorting mode of the written to-be-sent data is that the to-be-sent data is sequentially arranged from left to right from a high digit to a low digit and the digit sending mode is that the low digit data is transmitted firstly; when the digit sequencing mode of the written data to be sent is that the data to be sent is sequentially arranged from high to low from left to right and the digit sending mode is that the high-digit data is transmitted firstly, carrying out data conversion on the written data to be sent, and writting the data to be sent after data conversion into a sending queue; and sending the to-be-sent data in the sending queue byte by byte. According to the invention, the bit width of the register is configured, and data conversion is carried out to realize an adjustable transmission bit number, and the data high bit 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 Applications(China)
IPC IPC(8): G06F13/42
CPCG06F13/4282
Inventor 杨帆刘萌田世甦张波吴忠洁
Owner 上海灵动微电子股份有限公司