CAN bus controller parallel test method

A CAN bus and test method technology, applied in the field of parallel testing of CAN bus controllers, can solve the problems of inoperable state consideration, tedious debugging and writing test PATTERN, no CAN bus transceiver, etc., to avoid debugging and writing PATTREN process, Achieve full functional coverage testing and improve testing efficiency

Active Publication Date: 2020-08-14
BEIJING ZHENXING METROLOGY & TEST INST
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, in the existing test method, there is only the physical connection between the digital channel of the test machine and the CAN bus controller pins during the test, and there is no actual CAN bus, nor can the CAN bus transceiver and other nodes. During the process, the test machine should not only simulate the CPU to configure the registers of the bus controller, but also simulate the complete CAN environment (mainly simulate the "high and low levels" of the data sent back from the RX end), and each cycle should be combined with the CAN actual The bus environment is given
[0007] Therefore, the test method of the CAN bus controller in the prior art cannot consider its real working state on the one hand; on the other hand, the process of debugging and writing the test pattern is too cumbersome and difficult

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
  • CAN bus controller parallel test method
  • CAN bus controller parallel test method
  • CAN bus controller parallel test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of the application and together with the embodiments of the present invention are used to explain the principle of the present invention and are not intended to limit the scope of the present invention.

[0061] A specific embodiment of the present invention discloses a parallel testing method of a CAN bus controller, the flow chart is as figure 2 As shown, the method includes the following steps:

[0062] Step S1: Obtain the current test mode;

[0063] Step S2: If the test mode belongs to the CAN bus system test mode, then connect the first channel, and use the test machine to test the CAN bus controller in a corresponding working mode;

[0064] Step S3: If the test mode belongs to the single-chip CAN bus controller test mode, then connect the second channel, and use the test machine to tes...

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 relates to a CAN (Controller Area Network) bus controller parallel test method, which belongs to the technical field of electronic component detection, and solves the problems that an existing CAN bus controller test cannot realize real working state consideration, debugging and writing test of a PATTERN (Public Advanced Telecommunication Terrestrial Radio Network) is tedious and difficult. The method comprises the steps of acquiring a current test mode; if the test mode belongs to the CAN bus system test mode, connecting a first channel, and using a test machine for testing theCAN bus controller in a corresponding working mode; and if the test mode belongs to the test mode of the single-chip CAN bus controller, connecting a second channel, and testing the CAN bus controllerin a corresponding working mode by using a test machine. The CAN bus system test mode comprises at least one test mode of a message transceiving test, a message filtering test and a bus arbitration test. The single-chip CAN bus controller test mode comprises at least one test mode of a sending error test, a receiving error test and a node closing test.

Description

technical field [0001] The invention relates to the technical field of electronic component detection, in particular to a CAN bus controller parallel testing method. Background technique [0002] CAN bus controller is a controller device with powerful functions and many internal registers. Its testing has always been a difficult problem in the industry. Even if some organizations can complete the simple function test of sending and receiving messages, they cannot traverse the numerous resource modules and various internal registers. a processing mechanism. [0003] The test of a single-chip digital device generally directly connects the device pins to the digital channel, connects the power supply and ground of the device to the DPS and GND of the test system to supply power for the device, and there will be some auxiliary capacitors in the process of making the test interface board to filter. During the test process, the device input pins are generally read, written, and ...

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): G05B23/02
CPCG05B23/0237Y02P90/02
Inventor 杨超唐金慧李文周张金凤吴迪金荣康
Owner BEIJING ZHENXING METROLOGY & TEST INST
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