LAP

Aus LaborWiki
Wechseln zu: Navigation, Suche

Labor Automation Protocol

Struktur des Can Identifiers

SID = Standard Idetifier EID = Extended Idetifier

SP = Source Port DP = Destination Port SA = Source Address DA = Destination Address

Die ersten 11 bits
SID10 SID9 SID8 SID7 SID6 SID5 SID4 SID3 SID2 SID1 SID0
SP5 SP4 SP3 SP2 SP1 SP0 DP5 DP4 0 DP3 DP2
Die hinteren 18 bits
EID17 EID16 EID15 EID14 EID13 EID12 EID11 EID10 EID9 EID8 EID7 EID6 EID5 EID4 EID3 EID2 EID1 EID0
DP1 DP0 SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0

Im MCP2515 sieht das dann so aus:

SIDH
7 6 5 4 3 2 1 0
SP5 SP4 SP3 SP2 SP1 SP0 DP5 DP4
SIDL
7 6 5 4 3 2 1 0
0 DP3 DP2 0 1 0 DP1 DP0
EIDH
7 6 5 4 3 2 1 0
SA7 SA6 SA5 SA4 SA3 SA2 SA1 SA0
EIDL
7 6 5 4 3 2 1 0
DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0