ICP DAS USA I-7565M-FD Service And Usage Information

ICP DAS USA I-7565M-FD Service And Usage Information

Usb to can/can fd (can with flexible data-rate) converter

Advertisement

Quick Links

I-7565M-FD
User Manual
Version 1.0.0, Dec. 2019
Service and usage information for
I-7565M-FD
I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0)
Page: 1
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the I-7565M-FD and is the answer not in the manual?

Questions and answers

Summary of Contents for ICP DAS USA I-7565M-FD

  • Page 1 I-7565M-FD User Manual Version 1.0.0, Dec. 2019 Service and usage information for I-7565M-FD I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 1 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 2 If you have any problem, please feel free to contact us. You can count on us for quick response. Email: service@icpdas.com I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 2 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 3: Table Of Contents

    CANFD_ListDevice ................................40 5.4.3 CANFD_OpenDevice ................................ 41 5.4.4 CANFD_CloseDevice ................................ 42 5.5. Module Configuration Functions....................... 43 I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 3 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 4 Dimension ............................... 81 7.3. CAN Status Register ..........................82 7.4. CAN Error Counter Register ........................83 I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 4 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 5: Introduction

    CAN/CAN FD frame. (10 kbps to 1000 kbps for CAN arbitration phase and 100 kbps to 3000 kbps for CAN FD data phase). When connecting I-7565M-FD to PC, PC will load the relevant device driver automatically (hot plug & play). Therefore, users can make data collection and processing of CAN Bus network easier and quicker by applying I-7565M-FD.
  • Page 6: Specifications

    -25 ~ 75 ℃ Operating Temp. -30 ~ 80 ℃ Storage Temp. Humidity 10 ~ 90% RH, non-condensing I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 6 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 7: Features

     Provide utility tool for users module setting and CAN Bus communication testing conveniently  Provide API library for user program development I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 7 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 8: Technical Data

    The following figure is the block diagram illustrating the functions of the I-7565M-FD. Figure 2-1 Block Diagram of I-7565M-FD 2.2. Appearance Figure 2-2 Appearance of I-7565M-FD I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 8 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 9: Pin Assignment

    2.3. Pin Assignment The pin assignments of 8-pin terminal block connector of I-7565M-FD is shown in the following tables. Table 2-1 Pin Assignment Pin No Name Description CAN_GND CAN ground of CAN1 port CAN_L CAN_Low bus line of CAN1 port.
  • Page 10: Led Indicator

    2.4. LED Indicator There are 6 LEDs on the I-7565M-FD. One for power indication, one for hardware status indication and four for CAN Bus indication. The LED assignment and description are shown as follows. Figure 2-3 LED Assignment of I-7565M-FD...
  • Page 11: Terminal Resistor Setup

    Figure 2.4 CAN Bus network topology Each I-7565M-FD includes one build-in 120Ω terminal resistor for CAN1/CAN2 ports, users can decide if it is enabled or not. The DIP switch for terminal resistor is under the top side.
  • Page 12 If your application is like the structure as follows, the terminal resistor is not needed. Figure 2-7 Application 2 I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 12 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 13: Wire Connection

    2.6. Wire Connection The wire connection of the I-7565M-FD is displayed below. Figure 2-8 Wire Connection for I-7565M-FD I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 13 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 14: Network Deployment

    3. Network Deployment 3.1. Driving Capability Before introducing the driving capability of the I-7565M-FD, some characteristics of copper cable must be assumed. The AC parameters are 120Ω impedance and ms/line delay, and the DC parameter follows the table show below.
  • Page 15: Software Utility

    After installing the .Net Framework components, the software will continue to install the Utility tool. 1. Click the “Next” button to continue. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 15 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 16 2. Select the installation path of the I-7565-FD Utility and click the “Next” button. 3. Confirm the installation. Click the “Next” button to start the installation I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 16 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 17 4. Installation complete. Click the “Close” button to exit I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 17 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 18: Setting Up The I-7565M-Fd

    After installing the utility tool, please follow the following steps to set up the communication between the Utility and the I-7565M-FD device. Step 1:Connect the PC available USB port with the USB port of the I-7565M-FD device. Users can find the communication cable (CA-USB15) in the product box.
  • Page 19: Start To Use I-7565-Fd Utility Tool

    Open the “Module Configuration” frame to set the CAN ID filter and configure the module parameters. [Help] About Utility tool information. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 19 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 20 C Status bar. After connecting with module, user can get the CAN port setting information on this field. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 20 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 21: Connect To The Module

    4.3.1 Connect to the module When executing the Utility, the tool will try to scan all the necessary I-7565M-FD modules and list all scanned module information on “Module Name” location of the Utility “Connect” frame. User can re-connect to re-scan the newer inserted I-7565M-FD module.
  • Page 22 Step4: Press the “Connect” buttom to start to use the above setting to send/receice CAN/CAN FD messages. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 22 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 23: Send Can/Can Fd Messages

    4.3.2 Send CAN/CAN FD messages By using the Utiltiy tool, user can send CAN/CAN FD meesages to CAN Bus via I-7565M-FD devices. If the connection to I-7565M-FD is successful, then the screen for CAN Bus communication function will show up like below picture.
  • Page 24 It will modify the CAN message parameter from “Send Message Configuration” area to the assigned blue row in “CAN/CAN FD Message Send Area”. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 24 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 25 Whenever the CAN message is sent out once, the “SendCnt” value will be added by 1 except “HWSend” function. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 25 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 26: Receive Can/Can Fd Messages

    4.3.3 Receive CAN/CAN FD messages By using the Utiltiy tool, user review the received CAN meesages on the CAN Bus via I-7565M-FD devices. If the connection to I-7565M-FD is successful, then the screen for CAN Bus communication function will show up like below picture.
  • Page 27 [2] 1.4060 (Sec) => The Maximum time interval of received CAN messages. [3] 0.1760 (Sec) => The Minimum time interval of received CAN messages. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 27 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 28: Configure Can Id Filter

    4.3.4 Configure CAN ID Filter By using the I-7565M-FD Utiltiy tool, user can configure the CAN ID filter of the module. After clicking the “Module Confiuration” item, user can set CAN Id filter setting. The “CAN1” / “CAN 2” tab is used to switch CAN1 / CAN2 filter setting screen. The “Reject Remote Frame”...
  • Page 29 “Save File” button: Save the CAN Standard/Extended IDs setting on “Standard/Extended ID Fiter” frame into an ini file. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 29 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 30 Delete a selected row CAN ID from “Standard/Extended ID Fiter” frame. <8> “Clear Table” button: Delete all CAN IDs from “Standard/Extended ID Fiter” frame. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 30 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 31: Configure Other Parameters

    Besides, “CAN1” / “CAN 2” tab is used to switch CAN1 / CAN2 command setting options. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 31 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 32 The CAN is in the Error_Passive state CAN1/2 Bus Off status The CAN is not in Bus_OFF state. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 32 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 33 [Reset Module] command: Reset the module. After sending the command, the “Module Configuration” frame will be closed. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 33 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 34: Api Library

    5. API Library Users can develop own CAN Bus program by I-7565M-FD API library, CAN_FD.dll, quickly and easily. The CAN_FD library and demos can be downloaded from the ICP DAS web site. The library is located at: http://ftp.icpdas.com/pub/cd/fieldbus_cd/can/converter/I-7565M-FD/software/li brary/windows The demos are located at: http://ftp.icpdas.com/pub/cd/fieldbus_cd/can/converter/I-7565M-FD/software/d...
  • Page 35 These functions are used to scan and open/close the valid and necessary I-7565M-FD device. [Module Configuration Function] These functions are used to set/get the parameters or information of I-7565M-FD. [Communication Function] These functions are used to send/receive CAN/CAN FD messages through...
  • Page 36: Api Library Function Table

    CAN port Get the CAN Bus status in the assigned CAN CANFD_GetCANStatus port I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 36 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 37 Get the firmware version of the module CANFD_SetSN Set the module’s BID (board ID) CANFD_ResetModule Reset module I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 37 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 38: Api Library Flow Diagram

    The following is the basic control flow chart of user’s CAN Bus program development by using CAN_FD API Library shown in following picture. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 38 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 39: Init Functions

    5.4. Init Functions These functions are used to scan and open/close the valid and necessary I-7565M-FD device. 5.4.1 CANFD_ScanDevice This function is used to scan all the valid I-7565M-FD devices on PC side. Syntax: int CANFD_ScanDevice(void); Int32 CANFD_ScanDevice(); Parameter: None.
  • Page 40: Canfd_Listdevice

    5.4.2 CANFD_ListDevice The API library maximum support eight I-7565M-FD devices in the same PC. This function is used to list all the scanned I-7565M-FD devices’ PID (product ID) and BID (board ID). Syntax: BYTE CANFD_ListDevice(WORD* o_wPID, DWORD* o_dwBID); Byte CANFD_ListDevice(UInt16[] o_wPID, UInt32[] o_dwBID);...
  • Page 41: Canfd_Opendevice

    5.4.3 CANFD_OpenDevice This function is used to open the necessary I-7565M-FD device. After using the pid and bid to open the device, users can get a device ID and can use this ID with “Communication” functions to send/receive CAN messages via device ID.
  • Page 42: Canfd_Closedevice

    5.4.4 CANFD_CloseDevice This function is used to close the I-7565M-FD device. After the device closed, all the resoruces the API Library used will be released. Syntax: int CANFD_CloseDevice(WORD i_wDevice_id); Int32 CANFD_CloseDevice(UInt16 i_wDevice_id); Parameter: i_wDevice_id [in] The assigned device ID of the I-7565M-FD device.
  • Page 43: Module Configuration Functions

    These functions are used to set/get the parameters or information of I-7565M-FD. 5.5.1 CANFD_SetCANOPMode This function is used to enable/disable, set normal or bus monitoring mode and CAN FD ISO/Non-ISO mode in the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_SetCANOPMode(WORD i_wDevice_id, BYTE i_byCANPort, WORD i_wEnable, WORD i_wBusMode, WORD i_wISOMode);...
  • Page 44: Canfd_Getcanopmode

    5.5.2 CANFD_GetCANOPMode This function is used to get the enable/disable setting, normal or bus monitoring mode and CAN FD ISO/Non-ISO mode in the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_GetCANOPMode(WORD i_wDevice_id, BYTE i_byCANPort, WORD* o_wEnable, WORD* o_wBusMode, WORD* o_wISOMode);...
  • Page 45: Canfd_Setcanadbaudrate

    [in] The bit rate configured for the CAN and CAN FD arbitration phase in the assigned CAN port of the I-7565M-FD device. Unit: bps (bit per second). Valid Range: 10000 ~ 1000000 (10 kbps ~ 1000 kbps). i_dwDataBR [in] The bit rate configured for the CAN FD data phase in the assigned CAN port of the I-7565M-FD device.
  • Page 46 Suggested Range: 7500 ~ 8750 (75.00% ~ 87.50%). Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 46 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 47: Canfd_Getcanadbaudrate

    [out] The sample point of CAN bit rate and CAN FD arbitration phase bit rate in the assigned CAN port of the I-7565M-FD device. Unit: 0.01%, 8750 means I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 47...
  • Page 48 The sample point of CAN FD data phase bit rate in the assigned CAN port Unit: 0.01%, 8750 means 87.50%. Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 48 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 49: Canfd_Setcanglobalfilter

    5.5.5 CANFD_SetCANGlobalFilter This function is used to set CAN filter function of “reject remote standard or extended CAN ID frame” in the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_SetCANGlobalFilter(WORD i_wDevice_id, BYTE i_byCANPort, BYTE i_byRejectRFS, BYTE i_byRejectRFE); Int32 CANFD_SetCANGlobalFilter(UInt16 i_wDevice_id, Byte i_byCANPort, Byte i_byRejectRFS, Byte i_byRejectRFE);...
  • Page 50: Canfd_Getcanglobalfilter

    This function is used to get CAN filter function of “reject remote standard or extended CAN ID frame” and “standard and extended CAN/CAN FD ID lists size” parameters in the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_GetCANGlobalFilter(WORD i_wDevice_id, BYTE i_byCANPort, BYTE *o_byRejectRFS, BYTE *o_byRejectRFE, WORD* o_wSTDFIDListSize, WORD* o_wEXTFIDListSize);...
  • Page 51 [out] The CAN filter function of “standard CAN ID list size” parameter in the assigned CAN port of the I-7565M-FD device. This parameter is used for valid CAN ID filter ranges on CANFD_GetCANSTDIDFilter API function. Valid Range: 0 ~ 128.
  • Page 52: Canfd_Setcanstdidfilter

    *i_wSTDFID1, *i_wSTDFID2 [in/out] This point to arrays of the elements of standard CAN/CAN FD ID filter ranges in the assigned CAN port of the I-7565M-FD device. Valid used size of the arrays are depended by the “i_wSTDFIDListSize” parameter. The contents of each elements are defined as below:...
  • Page 53: Canfd_Getcanstdidfilter

    *o_wSTDFID1, *o_wSTDFID2 [in/out] This point to arrays of the elements of standard CAN ID filter ranges in the assigned CAN port of the I-7565M-FD device. Each array must reserve space for saving maximun 128 elements of CAN/CAN FD standard ID.Valid used size of the arrays are depended by the “o_wSTDFIDListSize”...
  • Page 54: Canfd_Setcanextidfilter

    5.5.9 CANFD_SetCANEXTIDFilter This function is used to set CAN filter function of “extended CAN ID list size” and “extended CAN ID ranges” parameters in the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_SetCANEXTIDFilter(WORD i_wDevice_id, BYTE i_byCANPort, WORD i_wEXTFIDListSize, DWORD* i_dwEXTFID1, DWORD* i_dwEXTFID2);...
  • Page 55: Canfd_Getcanextidfilter

    *o_wEXTFID1, *o_wEXTFID2 [in/out] This point to arrays of the elements of extended CAN ID filter ranges in the assigned CAN port of the I-7565M-FD device. Each array must reserve space for saving maximun 64 elements of CAN/CAN FD extended ID.Valid used size of the arrays are depended by the “o_wEXTFIDListSize”...
  • Page 56: Canfd_Getcanstatus

    5.5.11 CANFD_GetCANStatus This function is used to get CAN status, CAN Bus transmitted/received error counter and software buffer status in the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_GetCANStatus(WORD i_wDevice_id, BYTE i_byCANPort, DWORD *o_dwCANStatus, DWORD *o_dwErrCnt, DWORD *o_dwBufStatus);...
  • Page 57 The CAN is in the Bus_OFF state 31:7 Reserved Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 57 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 58: Communication Functions

    I-7565M-FD 5.6.1 CANFD_SetCANTxMsg This function is used to send a CAN/CAN FD message to the software transmitted buffer of the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_SetCANTxMsg(WORD i_wDevice_id, BYTE i_byCANPort, BYTE i_byMode, DWORD i_dwID, BYTE i_byRTR, BYTE i_byFDF, BYTE i_byDlen, BYTE *i_byData);...
  • Page 59 CAN/CAN FD message data parameter. Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 59 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 60: Canfd_Getcanrxmsg

    5.6.2 CANFD_GetCANRxMsg This function is used to get a CAN/CAN FD message from the software received buffer of the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_GetCANRxMsg(WORD i_wDevice_id, BYTE i_byCANPort, BYTE* o_byType, BYTE* o_byMode, DWORD* o_dwID, BYTE* o_byRTR, BYTE* o_byFDF, BYTE* o_byDlen, BYTE *o_byData, DWORD *o_dw_TimeStamp_s, DWORD *o_dw_TimeStamp_us);...
  • Page 61 CAN FD frame: Valid range: 0x0 ~ 0xF o_byDlen Frame data length o_byDlen Frame data length (Hexadecimal) (Decimal) (Hexadecimal) (Decimal) I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 61 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 62 The timestamp of the received/event message. Unit: micro second. Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 62 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 63: Canfd_Setcanhwsendmode

    1: enable CAN/CAN FD message sending by using module hardware timer. Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 63 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 64: Canfd_Getcanhwsendmode

    0: disable. 1: enable. Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 64 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 65: Canfd_Setcanhwsendmsg

    CAN message RTR (Remote Transmission Request) parameter. 0: use data frame 1: use remote frame. (No effect for CAN FD frame) I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 65 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 66 Number of transmissions of the module hardware timer to send this CAN message. Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 66 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 67: Canfd_Getcanrxframepersec

    The assigned CAN port of the I-7565M-FD device. *o_wRxFPS [out] The CAN Bus data flow in the assigned CAN port of the I-7565M-FD device. Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 67 Copyright ©...
  • Page 68: Software Buffer Functions

    CAN_FD library. 5.7.1 CANFD_GetCANRxMsgCount This function is used to get the count of received CAN/CAN FD messages in the software received buffer in the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_GetCANRxMsgCount(WORD i_wDevice_id, BYTE i_byCANPort, DWORD *o_dwCount);...
  • Page 69: Canfd_Clearcanrxbuf

    5.7.2 CANFD_ClearCANRxBuf This function is used to clear all the CAN/CAN FD messages in the software received buffer in the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_ClearCANRxBuf(WORD i_wDevice_id, BYTE i_byCANPort); Int32 CANFD_ClearCANRxBuf(UInt16 i_wDevice_id, Byte i_byCANPort); Parameter: i_wDevice_id [in] The assigned device ID of the I-7565M-FD device.
  • Page 70: Canfd_Clearcantxbuf

    5.7.3 CANFD_ClearCANTxBuf This function is used to clear all the CAN/CAN FD messages in the software transmitted buffer in the assigned CAN port of the I-7565M-FD device. Syntax: int CANFD_ClearCANTxBuf(WORD i_wDevice_id, BYTE i_byCANPort); Int32 CANFD_ClearCANTxBuf(UInt16 i_wDevice_id, Byte i_byCANPort); Parameter: i_wDevice_id [in] The assigned device ID of the I-7565M-FD device.
  • Page 71: Other Functions

    Value 1000000 (in decimal)  CAN_FD library version: v1.0.0.0 Value 1000113 (in decimal)  CAN_FD library version: v1.0.1.13 I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 71 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 72: Canfd_Getfwver

    5.8.2 CANFD_GetFwVer This function is used to get the firmware version of the I-7565M-FD device Syntax: Int CANFD_GetFwVer(WORD i_wDevice_id, WORD* o_wFwVer); Int32 CANFD_GetFwVer(UInt16 i_wDevice_id, out UInt16 o_wFwVer); Parameter: i_wDevice_id [in] The assigned device ID of the I-7565M-FD device. *o_wFwVer [out] The firmware version of the I-7565M-FD device.
  • Page 73: Canfd_Setsn

    5.8.3 CANFD_SetSN This function is used to set the BID (board ID) of the I-7565M-FD device Syntax: Int CANFD_SetSN(WORD i_wDevice_id, DWORD i_dwSN) Int32 CANFD_SetSN(UInt16 i_wDevice_id, UInt32 i_dwSN); Parameter: i_wDevice_id [in] The assigned device ID of the I-7565M-FD device. i_dwSN [in] The BID (board ID) of the I-7565M-FD device.
  • Page 74: Canfd_Resetmodule

    The assigned device ID of the I-7565M-FD device. Return Value: Return 0 means success, others means failure. I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 74 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 75: Return Codes

    0x10104 CAN bit rate parameters not support 0x10105 CAN Filter ID list size parameter not support I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 75 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 76: Firmware Upgrade

    Please refer to the following steps to upgrade the firmware of module Step 1: Set the ‘Init.’ dip switch of the I-7565M-FD to ‘ON’ and connect the PC available USB port with the USB port of the module. Users can find the communication cable (CA-USB15) in the product box.
  • Page 77 Power, MS, CAN1_ST, CAN2_ST, CAN2, CAN1 LEDs of the module will scroll to flash per 200 milliseconds and users can upgrade the firmware of the I-7565M-FD module via USB and the module will become a “USB Mass Storage Device” and also shows a folder like following picture automatically.
  • Page 78 Step 6: Press the the “Browser…” button and select the firmware file (*.fw). I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 78 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 79 Step 9: Replug the USB cable to reboot the module and press the “Exit” button to exit the “Firmware Update Tool” I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 79 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 80: Appendix

    This chapter provides revision history information to this document. The table below shows the revision history. Revision Date Description 1.0.0 2019/12/12 Initial issue I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 80 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 81: Dimension

    7.2. Dimension I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 81 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 82: Can Status Register

    The CAN module is not in busoff state. The CAN controller is in busoff state. 31:8 Reserved I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 82 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...
  • Page 83: Can Error Counter Register

    At error level. The receive counter has reached the error passive level of 128 31:16 Reserved I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0) Page: 83 Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com...

Table of Contents