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.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2019-06-14
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
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...
Examples
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...