-
Notifications
You must be signed in to change notification settings - Fork 6
/
dialoginitstring.ui
70 lines (65 loc) · 2.16 KB
/
dialoginitstring.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DialogInitString</class>
<widget class="QDialog" name="DialogInitString">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>556</width>
<height>442</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>440</x>
<y>410</y>
<width>80</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>Ok</string>
</property>
</widget>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>561</width>
<height>401</height>
</rect>
</property>
<property name="plainText">
<string>
Init string parameters:
1 2 3 4 5 6 7
device_type ; device_serial_number ; speed ; tseg1 ; tseg2 ; sjw ; brp
where:
1 - device type: for "TouCAN", "TouCAN Marine", "TouCAN Duo" this parameter always == "0"
2 - device serial number: always 8 symbols like "12345678"
serial number you can find on bottom device case side like "sn:12345678"
3 - CAN bus speed: standard speed list: 10;20;50;100;125;250;500;1000
4 - CAN bus parameter "tseg1"
5 - CAN bus parameter "tseg2"
6 - CAN bus parameter "sjw"
7 - CAN bus parameter "brp"
If standard speed list is used next arguments can be skipped.
For example init string will looks like "0; 12345678; 1000"
For non standard CAN bus speeds: "speed" parameter must be == "0"
For example 1000 kbit speed init string will looks like: "0;12345678;0;7;2;2;5"
where: tseg1 = 7, tseg2 = 2, sjw = 2, brp = 5
CAN interface clock is : 50MHz
CAN bus parameters calculator: http://www.bittiming.can-wiki.info
</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>