- No category
advertisement
6.2.3 Testing CAN
1.
Selecting "VCIL Control" page
2.
Press combo box on the channel and select "CAN" as below figure
Reading Data
1.
Selecting "CAN" page as below figure
Set CAN bus speed. For example 250K
2.
Checked "Show Data"
3.
Press "Start" button to receive CAN bus data
4.
You should see the data came from the CAN bus and show on the list
TREK-570/303 User Manual 34
Writing Data
1.
Selecting "CAN" page as below figure
Set CAN bus speed. For example 250K
2.
Filling the CAN bus data prepare to send
3.
Press "Write" button to send CAN bus data as above figure
4.
You should see the data on the receiver
Testing Message Mask
1.
Selecting "VCIL Control" page
2.
Press combo box on the channel and select "CAN + Mask" as below figure
35 TREK-570/303 User Manual
Set Mask
1.
Selecting "CAN" page as below figure
Set CAN bus speed. For example 250K
2.
Configure the Message mask
3.
Press "Set Mask" button to apply the mask to bus
4.
You should see the mask was applied on the bus.
5.
If you set a mask to bus. You should not see the specified CAN ID on the read data list if the ID not passed for the mask
Mask Rule:
The CAN Message ID & operator "Mask" equal the "ID" & operator "Mask" PASS
The CAN Message ID & operator "Mask" not equal the "ID" & operator "Mask" NO
PASS
For example, as above figure setting. If the input CAN Message ID is 0x123, the result passed. Since 0x123 & 0xffff equal the ID 0x123 & 0xffff.
If the input CAN data ID is 0x120, the result not passed. Since 0x120 & 0xffff not equal the ID 0x123 & 0xffff.
TREK-570/303 User Manual 36
advertisement
Related manuals
advertisement
Table of contents
- 12 Introduction
- 13 General Specifications
- 15 Dimensions
- 15 Figure 1.1 TREK-570 dimensions
- 18 A Quick Tour of the TREK-570 Computing Box
- 18 Figure 2.1 Front view of TREK
- 18 Figure 2.2 Rear view of TREK
- 18 Installation Procedures
- 18 Connecting the Power Cord
- 18 Table 2.1: Pin Definition of Power Cord
- 19 Power Connector (12/24V; 9 ~ 32V)
- 19 Figure 2.3 Power connector outlook
- 19 Table 2.2: Power Connector
- 19 Running the BIOS Setup Program
- 22 Overview of Hardware Installation & Upgrading
- 22 Installing the Storage Device and Memory
- 22 Installing Optional Accessories
- 22 Installing TREK-570 Peripheral Modules
- 22 Figure 3.1 Install peripheral in the system
- 22 GPS Module
- 23 Paired with TREK-303 Specifications
- 26 Setting Jumpers and Switches
- 30 Front Side Connectors
- 30 Rear Side Connectors
- 30 Power Connector (12/24V; 9 ~ 32V)
- 30 Table 5.1: Power Connector
- 31 Smart Display Connector
- 31 Table 5.2: Smart Display Connector
- 32 RS-232 Connector (COM3)
- 32 Table 5.3: RS232 Connector(COM3)
- 32 Vehicle I/O
- 32 Table 5.4: Vehicle I/O
- 33 Generic I/O Connector
- 33 Table 5.5: Generic I/O Connector
- 36 Introduction
- 36 Execute VCIL Sample Code
- 36 System Menu
- 41 Testing VCIL
- 44 Testing CAN
- 47 Testing J
- 49 Testing ODB
- 52 Testing J
- 56 Vehicle Power Management
- 56 Power Management Mechanism
- 57 Power Management demo program
- 61 WatchDog Sample Code
- 62 Peripheral Control Demo Program
- 66 Paired with TREK-303 Specifications
- 66 Table A.1: TREK-303 Specification
- 69 Figure A.1 Hotkey utility