doc:hw_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:hw_commands [2014/06/14 10:32] – [Protocol Specific Commands (P 6) for the CAN UDS Protocol] admin | doc:hw_commands [2016/05/20 14:22] – [Bus Generic Commands (P 9) for the CAN Bus] nexulm | ||
---|---|---|---|
Line 94: | Line 94: | ||
==== Protocol Specific Commands (P 6) for the CAN Raw Protocol ==== | ==== Protocol Specific Commands (P 6) for the CAN Raw Protocol ==== | ||
- | No dedicated p- commands for this mode, as the function is mainly driven by the sent data content. For more details about the CAN Raw Mode, please refer to the [[rfc_canraw-mode|RFC CAN Raw Mode]] | ||
+ | For more details about the CAN Raw Mode, please refer to the [[: | ||
+ | |||
+ | ^ Command | ||
+ | | 1 | | |(PARAM_CANRAW_FRAME_DELAY, | ||
+ | | 2 | | |(PARAM_CANRAW_SENDID, | ||
+ | | 3 | 0..max | ||
+ | |||
+ | |||
+ | \\ | ||
==== Protocol Specific Commands (P 6) for the CAN RTD Protocol ==== | ==== Protocol Specific Commands (P 6) for the CAN RTD Protocol ==== | ||
Line 115: | Line 123: | ||
==== Bus Specific Commands (P 8) for the CAN Bus, used in D2 Design ==== | ==== Bus Specific Commands (P 8) for the CAN Bus, used in D2 Design ==== | ||
- | ^ Command | + | |
- | | 2 | 0 | 0 | CAN transceiver: | + | ^ Command |
- | | 2 | 1 | 0 | CAN transceiver: | + | | 2 | 0 | 0 |CAN transceiver: |
- | | 2 | 2 | 0 | CAN transceiver: | + | | 2 | 1 | 0 |CAN transceiver: |
- | | 2 | 3 | 0 | CAN transceiver: | + | | 2 | 2 | 0 |CAN transceiver: |
- | | 3 | 1 | 0 | Standard-CAN init (initialize CAN controller with 125kbit/s, 11bit) | + | | 2 | 3 | 0 |CAN transceiver: |
- | | 3 | 2 | 0 | Standard-CAN init (initialize CAN controller with 250kbit/s, 11bit) | + | | 3 | |
- | | 3 | 3 | 0 | Standard-CAN init (initialize CAN controller with 500kbit/s, 11bit) | + | | 3 | 2 | 0 |Standard-CAN init (initialize CAN controller with 250kbit/s, 11bit) |
- | | 3 | 4 | 0 | Standard-CAN init (initialize CAN controller with 1000kbit/s, 11bit) | + | | 3 | 3 | 0 |Standard-CAN init (initialize CAN controller with 500kbit/s, 11bit) |
- | | 3 | 5 | 0 | Extended-CAN init (initialize CAN controller with 125kbit/s, 29bit) | + | | 3 | 4 | 0 |Standard-CAN init (initialize CAN controller with 1000kbit/s, 11bit) |
- | | 3 | 6 | 0 | Extended-CAN init (initialize CAN controller with 250kbit/s, 29bit) | + | | 3 | 5 | 0 |Extended-CAN init (initialize CAN controller with 125kbit/s, 29bit) |
- | | 3 | 7 | 0 | Extended-CAN init (initialize CAN controller with 500kbit/s, 29bit) | + | | 3 | 6 | 0 |Extended-CAN init (initialize CAN controller with 250kbit/s, 29bit) |
- | | 3 | 8 | 0 | Extended-CAN init (initialize CAN controller with 1000kbit/s, 29bit) | + | | 3 | 7 | 0 |Extended-CAN init (initialize CAN controller with 500kbit/s, 29bit) |
- | | 4 | 0 | 0 | HS-CAN (Relais switch - OFF) | + | | 3 | 8 | 0 |Extended-CAN init (initialize CAN controller with 1000kbit/s, 29bit) |
- | | 4 | 1 | 0 | MS-CAN (Relais switch - ON) | + | | 4 | 0 | 0 |HS-CAN (Relais switch - OFF) | | |
- | | 10 | < | + | | 4 | 1 | 0 |MS-CAN (Relais switch - ON) | | |
- | | 11 | < | + | | 10 | |
- | | 12 | | + | | 11 | |
- | | 13 | | + | | 12 | |
- | | 14 | 0 | 0 | set all 11bit | + | | 13 | |
+ | | 14 | 0 | 0 |set all 11bit CAN filter to CAN-ID $0000 and Mask-ID $07FF (= disable any CAN traffic to application) | ||
+ | |||
+ | |||
+ | \\ | ||
===== Bus Generic Commands (P 9) ===== | ===== Bus Generic Commands (P 9) ===== | ||
==== Bus Generic Commands (P 9) for the CAN Bus ==== | ==== Bus Generic Commands (P 9) for the CAN Bus ==== | ||
- | ^ Command | + | |
- | | 0 | 0 | 0 | show info which interface/ | + | ^ Command |
- | | 0 | 3 | 0 | show info | + | | 0 | 0 | 0 |show info which interface/ |
- | | 0 | 4 | 0 | ?? | + | | 0 | 3 | 0 |show info of CAN transceiver operating mode | | |
- | | 0 | 5 | 1 | read different CAN error counters | + | | 0 | 4 | 0 |?? | | |
- | | 0 | 5 | 2 | delete all software internal CAN error counters | + | | 0 | 5 | 1 |read different CAN error counters |
- | | 0 | 10 | 0 | show all 11bit CAN-ID filter, each line with two 11bit CAN-filters like: \\ < | + | | 0 | 5 | 2 |delete all software internal CAN error counters |
- | | 0 | 11 | 0 | show all 29bit CAN-ID filter, each line with one 29bit CAN-filter like: \\ < | + | | 0 | 10 | 0 |show all 11bit CAN-ID filter, each line with two 11bit CAN-filters like: |
+ | | 0 | 11 | 0 |show all 29bit CAN-ID filter, each line with one 29bit CAN-filter like: | ||
+ | |||
+ | |||
+ | \\ | ||
doc/hw_commands.txt · Last modified: 2017/04/02 07:09 by admin