Difference between revisions of "IoTGateway/BSP/Android/Gettingstarted/How to use CAN Bus"
From ESS-WIKI
Line 82: | Line 82: | ||
<tt><code>CAN0_D- </code></tt>connect to <tt>CAN1_D-</tt> | <tt><code>CAN0_D- </code></tt>connect to <tt>CAN1_D-</tt> | ||
+ | <pre>candump can0& | ||
− | + | cansend can1 -i 0x00 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88</pre> | |
− | |||
− | cansend can1 -i 0x00 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88 | ||
=== Test === | === Test === | ||
*Test 1 | *Test 1 |
Revision as of 06:30, 26 January 2017
Pin Define
ROM-3420
Pin | Signal | Pin | Signal |
1 | - | 2 | - |
3 | CAN0_D- | 4 | - |
5 | CAN0_D+ | 6 | - |
7 | - | 8 | - |
9 | GND | 10 | - |
ROM-7421
Pin | Signal | Pin | Signal |
1 | - | 2 | CAN0_D- |
3 | |
4 | - |
5 | GND |
6 | GND |
7 | CAN0_D+ | 8 | - |
9 | 10 | - |
Configuration
- Connect can0 and can1
CAN0_D+ connect to CAN1_D+
CAN0_D-
connect to CAN1_D-
candump can0& cansend can1 -i 0x00 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88
Test
- Test 1