![Sys Tec Electronic USB-CANmodul System Manual Download Page 47](http://html1.mh-extra.com/html/sys-tec-electronic/usb-canmodul/usb-canmodul_system-manual_1421546047.webp)
Software
SYS TEC electronic GmbH 2001 L-487e_6
45
The specific error values returned from this function are described
below. Note that these values are bit-organized. The error codes are
defined in the header file USBCAN32.H.
CAN error states:
Name
Value
Description
USBCAN_CANERR_OK
0x0000
No error
USBCAN_CANERR_XMTFULL
0x0001
CAN controller Tx
buffer full
USBCAN_CANERR_OVERRUN
0x0002
CAN controller Rx
buffer full
USBCAN_CANERR_BUSLIGHT
0x0004
Bus error, Limit 1
exceeded
USBCAN_CANERR_BUSHEAVY
0x0008
Bus error, Limit 2
exceeded
USBCAN_CANERR_BUSOFF
0x0010
Bus error, CAN
controller is in bus-off
state
USBCAN_CANERR_QRCVEMPTY
0x0020
RcvQueue is empty
USBCAN_CANERR_QOVERRUN
0x0040
RcvQueue overflow
USBCAN_CANERR_QXMTFULL
0x0080
Transmit queue is full
USBCAN_CANERR_REGTEST
0x0100
CAN controller
register test failed
USBCAN_CANERR_MEMTEST
0x0200
Memory test failed
USB error states:
Name
Value
Description
USBCAN_USBERR_OK
0x0000
No error
There are no specific error messages on the USB interface. This is due
to the fact that all USB errors are handled by the Windows operating
system.
1
Error Warning Limit of the SJA1000 CAN controller, default value is 96. Refer to SJA1000 data
sheet.
2
Error Counter exceeds the protocol-defined level of 127. Refer to SJA1000 data sheet.
Summary of Contents for USB-CANmodul
Page 1: ...A Product of PHYTEC Technologie Holding AG USB CANmodul Systems Manual Edition March 2001 ...
Page 10: ...USB CANmodul 8 SYS TEC electronic GmbH 2001 L 487e_6 ...
Page 22: ...USB CANmodul 20 SYS TEC electronic GmbH 2001 L 487e_6 ...
Page 70: ...USB CANmodul 68 SYS TEC electronic GmbH 2001 L 487e_6 ...
Page 74: ...Published by SYS TEC electronic 2001 Ordering No L 487e_6 Printed in Germany ...