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

Serial peripheral interface communication data analysis method, computing equipment and storage medium

A technology of a serial peripheral interface and an analysis method, which is applied in the field of computing equipment and storage media, and the analysis method of serial peripheral interface communication data, can solve the problems of error-prone, difficulty in identifying data, and low efficiency.

Pending Publication Date: 2020-07-14
QINGDAO GOERTEK INTELLIGENT SENSOR CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When there are few SPI instructions (within 10 bytes), this method can indeed solve the problem better, but once there are many instructions, and SPI sends dozens of bytes at a time, or even more bytes, the oscilloscope detects The data signal will be very dense. At this time, it will be extremely difficult to distinguish the data through manual calculation, and it is easy to make mistakes and the efficiency is very low.

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
  • Serial peripheral interface communication data analysis method, computing equipment and storage medium
  • Serial peripheral interface communication data analysis method, computing equipment and storage medium
  • Serial peripheral interface communication data analysis method, computing equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the technical solutions and advantages of the present invention clearer, the following will further describe the embodiments of the present invention in detail in conjunction with the accompanying drawings.

[0033] It should be noted that the terms of the present invention [the embodiment of the present invention does not limit the order of execution of steps a to e, for example, step c and step a may be executed in sequence]

[0034] [All numerical designations in the present invention (such as temperature, time, concentration and weight, etc., including the range of each of them) can generally be approximated by changing (+) or (-) in increments of 0.1 or 1.0 as appropriate. All numerical designations are to be understood as being preceded by the term "about". 】

[0035] On the one hand, an embodiment of the present invention provides a method for analyzing communication data of a serial peripheral interface,

[0036] In the following, each step in...

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 serial peripheral interface communication data analysis method, computing equipment and a storage medium. The method comprises: S10, monitoring whether data transmission is started on a serial peripheral interface communication bus or not; S12, reading data on the serial peripheral interface communication bus and storing the read data until data transmission is finished on the serial peripheral interface communication bus is monitored; S14, comparing the stored data with pre-stored standard data, wherein the pre-stored standard data is a read-write instruction sent toserial peripheral interface equipment by a micro-processing unit through the serial peripheral interface; and S16, outputting a comparison result to display equipment for display. The SPI communication data packet does not need to be recognized through manual calculation, the SPI communication process can be automatically recognized through software codes, all data in SPI communication are automatically calculated and stored according to a standard SPI communication protocol, and then error data in the SPI communication process can be rapidly and accurately judged.

Description

technical field [0001] The invention relates to the field of communication data analysis. More specifically, it relates to a method for analyzing communication data of a serial peripheral interface, a computing device and a storage medium. Background technique [0002] In the process of software development, MCU often uses the SPI communication protocol to send read and write commands to external devices to achieve the purpose of controlling the working status of the devices. Due to the large number of equipment instructions, during the communication process, once a certain instruction is sent incorrectly, the equipment will not work normally. The current conventional solution is to use an oscilloscope to detect the SPI communication timing, and then manually calculate the command data to determine whether the data is normal. When there are few SPI instructions (within 10 bytes), this method can indeed solve the problem better, but once there are many instructions, and SPI...

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/4282G06F2213/4004
Inventor 张学军
Owner QINGDAO GOERTEK INTELLIGENT SENSOR CO LTD
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