ICP DAS USA mPAC-7186EXD-CAN User Manual page 24

Table of Contents

Advertisement

For 11-bit ID Message:
Register
AccCode[0] and AccMask[0]
AccCode[1] and AccMask[1]
AccCode[1] and AccMask[1]
AccCode[1] and AccMask[1]
AccCode[2] and AccMask[2]
AccCode[3] and AccMask[3]
For 29-bit ID Message:
Register
AccCode[0] and AccMask[0]
AccCode[1] and AccMask[1]
AccCode[2] and AccMask[2]
AccCode[3] and AccMask[3]
AccCode[3] and AccMask[3]
AccCode[3] and AccMask[3]
Note: 1. AccCode[0] means the most significant byte of AccCode and
AccCode[3] means the least significant byte of AccCode.
2. AccMask[0] means the most significant byte of AccMask and
AccMask[3] means the least significant byte of AccMask.
3. Bit10 is most significant bit and Bit0 is least significant bi
For example (In 29 bit ID message):
AccCode : 00h
AccMask : FFh FFh FFh
ID Value
: ??
(Note: The mark "h" behind the value means hex format.)
Return:
CAN_NoError: OK
CAN_BaudNotSupport: This CAN baud rate is not support.
CAN_ResetError: Fail to reset the CAN controller.
CAN_ConfigError: Fail to configure the CAN controller register.
CAN_SetACRError: Fail to set the AccCode register
CAN_SetAMRError: Fail to set the AccCode register
CAN_NotEnoughMemory: Create a reception/transmission software
CAN_TypeOf7188Error: The type of the 7188 is not defined of this
Relative function:
None
I-7188XBD-CAN/μPAC-7186EXD-CAN user manual (ver.1.0.3, May/09/2014)
bits of register
bit7~bit0
bit7~bit5
bit3~bit0
bit7~bit0
bit7~bit0
bits of register
bit7~bit0
bit7~bit0
bit7~bit0
bit7~bit3
bit1~bit0
00h
00h
A0h
1Fh
??
??
Ah and Bh
buffer for CAN messages are fail.
library.
bit10 ~ bit3 of ID
bit2 ~ bit0 of ID
bit4
bit7 ~ bit0 of 1st byte data
bit7 ~ bit0 of 2nd byte data
bit28 ~ bit21 of ID
bit20 ~ bit13 of ID
bit12 ~ bit5 of ID
bit4 ~ bit0 of ID
bit2
t
will be accepted. (??: don't care)
Filter Target
RTR
no use
Filter Target
RTR
no use
24

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-7188xbd-can

Table of Contents