請先看『使用說明』
MB:3I130TW
From LEXWiKi
(Difference between revisions)
(→How to Test CanBus) |
(edited by Jay-chen via TableEdit) |
||
(6 intermediate revisions not shown.) | |||
Line 484: | Line 484: | ||
| | | | ||
kernel->5.14.0-511.el9-x86_64 | kernel->5.14.0-511.el9-x86_64 | ||
+ | |- | ||
+ | | | ||
+ | Oracle 9.4 | ||
+ | | | ||
+ | i7-1365URE | ||
+ | | | ||
+ | 0.2 | ||
+ | | | ||
+ | UEFI | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | No | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | - | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | No | ||
+ | | | ||
+ | No | ||
+ | | | ||
+ | No | ||
+ | | | ||
+ | No | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | Yes | ||
+ | | | ||
+ | |||
+ | | | ||
+ | kernel->5.15.0-210.163.7.el9uek.x86_64 | ||
|-class='sortbottom' | |-class='sortbottom' | ||
Line 506: | Line 585: | ||
[[Image:can_connect.png]] | [[Image:can_connect.png]] | ||
- | 2. | + | 2.Test CanBus |
Driver Download: [https://drive.google.com/file/d/1TFZWFGnUuRuYtNP4UaF8aDgrnyb64qny/view?usp=sharing F81604 driver] | Driver Download: [https://drive.google.com/file/d/1TFZWFGnUuRuYtNP4UaF8aDgrnyb64qny/view?usp=sharing F81604 driver] | ||
+ | |||
+ | sudo su | ||
+ | |||
+ | ip link set down can0 | ||
+ | |||
+ | ip link set down can1 | ||
+ | |||
+ | ip link set can0 type can bitrate 1000000 sample-point 0.75 | ||
+ | |||
+ | ip link set can1 type can bitrate 1000000 sample-point 0.75 | ||
+ | |||
+ | ip link set can0 up qlen 1000 | ||
+ | |||
+ | ip link set can1 up qlen 1000 | ||
+ | |||
+ | candump can0 ---> A CMD for receiving | ||
+ | |||
+ | cansend can1 123#45 ---> A CMD for sending | ||
+ | |||
+ | [[Image:canbus_cmd.png]] |
Current revision
How to Test CPC
How to Test WDT/DIO
F81966_LPC_DIO_under_Linux_console
How to Test CanBus
1.Can0 connect Can1
2.Test CanBus
Driver Download: F81604 driver
sudo su
ip link set down can0
ip link set down can1
ip link set can0 type can bitrate 1000000 sample-point 0.75
ip link set can1 type can bitrate 1000000 sample-point 0.75
ip link set can0 up qlen 1000
ip link set can1 up qlen 1000
candump can0 ---> A CMD for receiving
cansend can1 123#45 ---> A CMD for sending