I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0)
Page: 45
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.5.3 CANFD_SetCANADBaudRate
This function is used to set the operating CAN/CAN FD arbitration and data phase
bit rate in the assigned CAN port of the I-7565M-FD device.
Syntax:
C++
int CANFD_SetCANADBaudRate(WORD i_wDevice_id, BYTE i_byCANPort, DWORD
i_dwArbitrBR, DWORD i_dwDataBR, WORD i_wArbitrBRSP, WORD i_wDataBRSP);
C#
Int32 CANFD_SetCANADBaudRate(UInt16 i_wDevice_id, Byte i_byCANPort, UInt32
i_dwArbitrBR, UInt32 i_dwDataBR, UInt16 i_wArbitrBRSP, UInt16 i_wDataBRSP);
Parameter:
i_wDevice_id
[in]
The assigned device ID
of the I-7565M-FD device.
i_byCANPort
[in]
The assigned CAN port of the I-7565M-FD device.
i_dwArbitrBR
[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. Unit: bps (bit per second).
Valid Range: 100000 ~ 3000000 (100 kbps ~ 3000 kbps).
Remark:
The bit rate configured for CAN FD data phase (
i_dwDataBR
) must be
higher or equal to the bit rate configured for the arbitration phase
(
i_dwArbitrBR
).
i_wArbitrBRSP
[in]
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