Configurable CAN bus protocol transceiving test method and system
A technology of CAN bus and test method, which is applied in the field of CAN bus protocol sending and receiving test method and system, can solve problems such as single form, fixed length of remote control frame response frame, and inability to satisfy users' quick response, so as to improve response rate and test efficiency , the effect of shortening the response time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] Such as figure 1 As shown, Embodiment 1 of the present disclosure provides a configurable CAN bus protocol transceiver test method, including the test of the simulated sending end, specifically:
[0041] (1-1) Set the request frame, including data such as frame ID, frame type, frame length, and frame data. If the length of the request frame data exceeds the maximum length of the data frame defined in the protocol, the request frame data will be split into multiple single frames. frame;
[0042] (1-2) Send the request frame, write the configured request frame into the sending buffer, and set the cyclic sending or single sending;
[0043] (1-3) Receive the response frame, analyze the first response single frame received to determine the type of the entire response frame, if it is multiple frames, frame according to the frame structure;
[0044] (1-4) compare the response data, compare the received response frame with the standard response frame, and obtain the test resu...
Embodiment 2
[0047] Such as figure 1 As shown, Embodiment 2 of the present disclosure provides a configurable CAN bus protocol transceiver test method, including the test of the simulated receiving end, specifically:
[0048] (4-1) The enabling of the frame ID is set, only the enabling frame ID can respond, and the frame ID not enabling does not respond even if it receives the corresponding request frame;
[0049] (4-2) set the response frame, including frame ID, frame type, frame length and frame data, if the response frame data length exceeds the maximum length of the data frame defined in the agreement, then the response frame data is split into multiple single frames;
[0050] (4-3) Wait for the request frame, judge whether the frame ID is enabled or not after receiving it, ignore it if it is not enabled, and respond if it is enabled;
[0051] (4-4) The response time is less than 2 milliseconds, the FPGA directly generates a hardware interrupt signal, enters the interrupt handler, par...
Embodiment 3
[0060] Embodiment 3 of the present disclosure provides a configurable CAN bus protocol transceiver test system, including at least an analog sending device and an analog receiving device, and the analog sending device adopts the configurable CAN bus protocol transceiver described in Embodiment 1 of the present disclosure The testing method is used for testing, and the simulated receiving device is tested using the configurable CAN bus protocol transceiver testing method described in Embodiment 2 of the present disclosure.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com