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

SPI asynchronous communication scheduling method and device, equipment and storage medium

A technology of asynchronous communication and scheduling method, which is applied in the field of communication to achieve the effect of reducing transmission errors and reducing time delay

Pending Publication Date: 2021-12-17
SHANGHAI AUTOMOBILE GEAR WORKS
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a SPI asynchronous communication scheduling method, device, equipment and storage medium, aiming to solve the technical problem of how to realize SPI asynchronous communication, thereby reducing time delay

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 asynchronous communication scheduling method and device, equipment and storage medium
  • SPI asynchronous communication scheduling method and device, equipment and storage medium
  • SPI asynchronous communication scheduling method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0065] refer to figure 1 , figure 1 It is a schematic structural diagram of the SPI asynchronous communication scheduling device of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0066] Such as figure 1 As shown, the SPI asynchronous communication scheduling device may include: a processor 1001 , such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components, such as SPI bus. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wire...

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 an SPI asynchronous communication scheduling method and device, equipment and a storage medium. The method comprises the steps that when an asynchronous transmission task is detected, calling an in-column operation instruction to put a task number corresponding to the asynchronous transmission task into a task queue, and adjusting the task state to be a waiting state; when the periodic trigger signal is received, calling a column-out operation instruction to obtain a target task number and a target task state corresponding to the to-be-transmitted task from the task queue; when the target task state is a waiting state and the current SPI transmission channel is in an idle state, entering an execution state; and executing an SPI asynchronous transmission operation on the to-be-transmitted task according to a target execution function corresponding to the target task number. Through the above mode, scheduling management can be performed on a plurality of SPI asynchronous transmission requests generated in a short time, so that transmission errors are reduced, SPI asynchronous communication is realized, and time delay in a communication process is reduced.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to an SPI asynchronous communication scheduling method, device, equipment and storage medium. Background technique [0002] Automotive motor controllers will use a large number of peripheral chips, some of which need to write driver software. The main control chip of the motor controller generally uses the SPI communication method to communicate with the peripheral chip. SPI communication methods are divided into synchronous and asynchronous. Due to its simple time model, the synchronous communication method does not need to pay too much attention to the scheduling timing of the function interface during programming, which makes this communication method the preferred SPI communication solution. However, when the amount of transmitted data increases, the time delay caused by synchronous waiting will also increase. Especially in order to ensure the communication qua...

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): G06F9/54G06F9/48G06F13/42
CPCG06F9/546G06F13/4282G06F9/4881G06F2209/548
Inventor 杨晓盛方晓颖
Owner SHANGHAI AUTOMOBILE GEAR WORKS
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