Data Sheet

1/18/2018 Serial CAN Bus - Longan Docs
http://docs.longan-labs.cc/can_bus/ 6/7
Eg: Set Filt3 to 0x2C, standard frame:
Respose
OK or ERROR
Normal Mode
When the module working on Normal mode, you can send and recevie data from CAN Bus.
Send
You should send 14 byte of data per frame. Dene as below,
ID0~ID3: CAN ID
EXT: 0 for standard frame, 1 for extended frame
RTR: 0 for standard frame, 1 for remote frame
DTA0~DTA7: 8 byte of data
Eg.
Send {1, 2, 3, 4, 5, 6, 7, 8} to ID:0x3DC, Standard frame:
Recv
You will get 12 byte of data per frame. Dene as below,
ID0~ID3: CAN ID
DTA0~DTA7: 8 byte of data
bit 0 1 2 3 4 5 6 7
dene ID3 ID2 ID1 ID0 EXT RTR DTA0 DTA1
bit 0 1 2 3 4 5 6 7
dene ID3 ID2 ID1 ID0 DTA0 DTA1 DTA2 DTA3
AT+M=[1][0][0000002C]
{0, 0, 3, 0xDC, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8}