beautypg.com

COMMELL MPX-2515 User Manual

Page 15

background image

Commell MPX-2515 User’s Guide Rev 0100

Taiwan Commate Computer Inc.

15

The following figure shows the relationship between FMB of CY8C24794 and
RXBn of MCP2515.

Figure 4 FMB vs. RXBn

1.6.3 CCP_CAN_RED_FMB

The CCP_CAN_READ_FMB service return 64-byte Firmware Message Buffer
(FMB). Application issue a BULK IN transfer over the endpoint 4 to proceed this
service. Neither CCP Request Packet format nor CCP Response Packet format
applies to this service.

The whole Firmware Message Buffer (FMB) can be retrieved via BULK IN
transfers over the endpoint 4 from the USB host. The first byte of each message
contains ether 0X60 or 0X70, which denotes that this message is copied from
RXB0 buffer or RXB1 buffer. The second byte is the associated RXBnCTRL
register value. Applications can check this byte for more message received
information. The third byte is EFLG at the receiving time. Then, comes a four bytes
timestamp in 100 us time unit. Standard ID or Extended ID is followed. RXBnDLC
byte has RTR bit indicating whether a Remote Transmit Request. RXBnDLC also