A method for multi-process interactive sharing of spi communication bus in embedded system

An embedded system, communication bus technology, applied in the field of embedded system multi-process interactive sharing of SPI communication bus, to achieve the effect of improving stability

Active Publication Date: 2016-08-10
HUIZHOU DESAY SV AUTOMOTIVE
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problem of the SPI communication of the above-mentioned existing interactive multi-process embedded multimedia system, the present invention provides a design scheme for the multi-process interactive shared SPI communication bus of the embedded system

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 method for multi-process interactive sharing of spi communication bus in embedded system
  • A method for multi-process interactive sharing of spi communication bus in embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] In order to allow those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described below in conjunction with the accompanying drawings.

[0016] Such as figure 1 and figure 2 As shown, the present invention discloses a method for embedded system multi-process interactive shared SPI communication bus, comprising the following steps:

[0017] (1) After the system is turned on and powered on, load the SPI driver to initialize the SPI communication device and bus to realize the SPI message interaction between the system and other systems. After the SPI driver is loaded, the system judges whether the SPI driver is loaded successfully. If the SPI driver fails to load, the SPI driver is reloaded until the SPI driver is loaded successfully. After the SPI driver is successfully loaded, continue to load other driver modules until the initialization of all drivers in the entire system is completed. ...

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 method for interactively sharing an SPI communication bus through embedded system multiple processes. The method comprises the following steps: (1) a system is initialized and the processes are built; (2) all kinds of SPI information are marked one by one by the system; (3) the processes respectively register required SPI information for the system; and (4) SPI information is respectively sent to each corresponding process by the system according to marks of the received SPI information. The method for interactively sharing the SPI communication bus through the embedded system multiple processes has the advantages that each process of an application layer is respectivley provided with an independent SPI communication queue, can respectivley register SPI information focused by the process according to requirements, and does not need to process interaction of other SPI information. Single-process SPI communication is not limited by other processes any more, whether the SPI information needs processing or not is completely not affected by other processes, and building of a process and exiting of the process are not affected by other processes. If an SPI information queue of a process is blocked, communication of other processes is completely not affected, and therefore system stability is improved.

Description

technical field [0001] The invention relates to a method for interactively sharing an SPI communication bus among multiple processes of an embedded system. Background technique [0002] In the prior art, the SPI communication of the interactive multi-process embedded multimedia system mostly adopts such as figure 1 System design scheme: System A is an embedded system without a display device, which mainly realizes functions such as driving and management of Tuner chip, driving and management of CD or DVD movement, power detection and management, detection and management of reversing, etc. And if these functions need to be displayed, another Arm-based multi-process multimedia embedded B system is required to complete. The embedded B system needs, in addition to completing its own tasks, it also needs to display and process all the functions of the A system. Show tasks. The communication between system A and system B has only one SPI communication bus, that is, the data exch...

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/378
Inventor 陈定柱李南山卓文龙褚念念
Owner HUIZHOU DESAY SV AUTOMOTIVE
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