COMMELL MPX-2515 User Manual
Page 16

Commell MPX-2515 User’s Guide Rev 0100
Taiwan Commate Computer Inc.
16
contains Data Length Code (DLC) bits that tell valid bytes in this message. All
message bytes are then followed.
Please be noted that CCP provides a way that application can check the status of
this FMB. Application issues an INTERRUPT IN transaction over endpoint 3 to
retrieve an eight bytes Status Packet, which contains FMB status byte at the offset
3 (zero-based packet). Please refer to the INTERRUPT IN section for detail
definitions.
Below is the suggestion of control flow.
1. Issue INTERRUPT IN transaction over endpoint 3.
2. Check FMB Status byte (at offset 3)
3. Issue BULK IN on endpoint 4 to retrieve 64-byte FMB
4. Process message(s)
5. Go back to Step 1.
The following table defines the format of Firmware Messages Buffer. Please refer
to the MCP2515 data sheet for detail definition of MCP2515 registers values in the
FMB.
OFFSET
NAME
DESCRIPTION
0
RXB_HEADER_MSB
The value of 0X5A
1
RXB_HEADER_LSB
The value of 0X6B
2
RXB_NEXT
Next available buffer (0, 1, 2)
Buffer 0 Start
3
RXB0 / RXB1
0X60 / 0X70
4
RXBnCTRL
See below notes.
5
EFLG
See below notes.
6
Timestamp + 3
Timestamp LSB
7
Timestamp + 2
8
Timestamp + 1
9
Timestamp + 0
Timestamp MSB
10
RXBnSIDH
11
RXBnSIDL
12
RXBnEID8
13
RXBnEID0
14
RXBnDLC
15
RXBnD0
16
RXBnD1
17
RXBnD2
18
RXBnD3