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

A method for quickly testing an SPI communication module

A technology of SPI module and communication module, which is applied in the testing field of 32-bit chip SPI communication module, can solve problems such as low test efficiency and inability to cover test cases, and achieve the effect of efficient testing, shortening test cycle, and reducing labor and time costs.

Active Publication Date: 2019-06-14
CHIPSEA TECH SHENZHEN CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the application discloses that the upper computer and the lower computer are used for testing, but for the SPI module, the above method cannot cover many test cases, and the test efficiency is 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
  • A method for quickly testing an SPI communication module
  • A method for quickly testing an SPI communication module
  • A method for quickly testing an SPI communication module

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0048] Figure 1-3 Shown, the method for fast testing SPI communication module realized by the present invention, this method communicates based on serial interface, mainly comprises the following steps:

[0049] S1: Specify the communication protocol between the upper computer and the lower computer;

[0050] S2: The upper computer automatically configures the SPI module, and the upper computer uses the SPI module to generate a configuration table for test cases, and converts the configuration table into corresponding test instructions;

[0051] S3: The upper computer and the lower computer comm...

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 quickly testing an SPI (serial peripheral interface) communication module, which is used for the communication based on a serial interface and comprises the following steps of S1, specifying a communication protocol between an upper computer and a lower computer; S2, using the upper computer to automatically configure an SPI module, generate a configuration table of the test case by using the SPI module, and convert the configuration table into a corresponding test instruction; S3, enabling the upper computer to communicate with the lower computer; and S4,after receiving the test instruction, using the lower computer to analyze the configuration instruction, and initialize the SPI of the chip according to the configuration information of the configuration instruction, so that the SPI works in an appointed working mode of the upper computer. According to the test method, nearly 100 thousands of cases of the SPI module can be fully automatically tested, the serial peripheral interface module can be quickly and efficiently tested, the test period of the SPI module is shortened, and the labor cost and the time cost consumed on the SPI module are greatly reduced.

Description

technical field [0001] The invention belongs to the technical field of communication module testing, in particular to the testing of 32-bit chip SPI communication modules based on Cortex M series cores. Background technique [0002] SPI (Serial Peripheral Interface) is a serial peripheral interface, which is a high-speed, full-duplex, synchronous communication bus. With the development of communication technology, the serial peripheral interface is widely used in various general-purpose chips because of its multiple working modes, flexible configuration, good compatibility, and high communication speed. The SPI module has gradually become a very important part of the chip. important peripheral modules. [0003] In the current chip design, in order to ensure various performance indicators of the chip, it is often necessary to test and verify it in multiple stages of chip design. However, on the one hand, the SPI module is compatible with various communication protocols such...

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): G06F11/22
Inventor 周兵
Owner CHIPSEA TECH SHENZHEN 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