User Tools

Site Tools


doc:hw_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:hw_commands [2016/11/19 11:50] – [Bus Specific Commands (P 8) for the CAN Bus, used in D2 Design] admindoc:hw_commands [2017/02/25 11:09] admin
Line 128: Line 128:
 |  2  |  1  |  0  |CAN transceiver: Loop back (internal loop) |  | |  2  |  1  |  0  |CAN transceiver: Loop back (internal loop) |  |
 |  2  |  2  |  0  |CAN transceiver: Loop back combined with silent mode |  | |  2  |  2  |  0  |CAN transceiver: Loop back combined with silent mode |  |
-|  2  |  3  |  0  |CAN transceiver: Normal mode (CAN active) |  |+|  2  |  3  |  0  |CAN transceiver: Normal mode (CAN active) **ATTENTION**: You need to active the bus **before** you set the CAN-Filters, but not after, otherways the settings are lost and the filters are closed  |  |
 |  3  |  0 or 1  |  0  |Standard-CAN init (initialize CAN controller with 125kbit/s, 11bit) |  | |  3  |  0 or 1  |  0  |Standard-CAN init (initialize CAN controller with 125kbit/s, 11bit) |  |
 |  3  |  2  |  0  |Standard-CAN init (initialize CAN controller with 250kbit/s, 11bit) |  | |  3  |  2  |  0  |Standard-CAN init (initialize CAN controller with 250kbit/s, 11bit) |  |
Line 158: Line 158:
 |  0  |  0  |  0  |show info which interface/bus is active (i.e. CAN-Bus) |  | |  0  |  0  |  0  |show info which interface/bus is active (i.e. CAN-Bus) |  |
 |  0  |  3  |  0  |show info of CAN transceiver operating mode |  | |  0  |  3  |  0  |show info of CAN transceiver operating mode |  |
-|  0  |  4  |  0  |?? |  | +|  0  |  4  |  0  |show info about CAN ID side and bitrate |  | 
-|  0  |  5  |  1  |read different CAN error counters |  |+|  0  |  5  |  1  |read different CAN counters: rx rxerr tx txerr rxerr2 txerr2 busoff buswarn buspass  |  |
 |  0  |  5  |  2  |delete all software internal CAN error counters |  | |  0  |  5  |  2  |delete all software internal CAN error counters |  |
 |  0  |  10  |  0  |show all 11bit CAN-ID filter, each line with two 11bit CAN-filters like:   \\  <CAN-ID> <Mask-ID> <CAN-ID> <Mask-ID> |  | |  0  |  10  |  0  |show all 11bit CAN-ID filter, each line with two 11bit CAN-filters like:   \\  <CAN-ID> <Mask-ID> <CAN-ID> <Mask-ID> |  |
doc/hw_commands.txt · Last modified: 2017/04/02 07:09 by admin