Internet: www.hms-networks.de E-Mail: info-ravensburg@hms-networks.de Support For problems or support with this product or other HMS products please request support at www.ixxat.com/support. Further international support contacts can be found on our webpage www.ixxat.com Copyright Duplication (copying, printing, microfilm or other forms) and the electronic distribution of this document is only allowed with explicit permission of HMS Technology Center Ravensburg GmbH.
2.2.4 LED display ................8 2.2.5 Pushbutton ................9 2.2.6 Bluetooth .................. 9 Extended ASCII protocol ............. 10 Behavior of the CANblue II ............11 4.1 Restore factory settings ............11 4.2 Firmware Update ..............11 4.3 VCI Support ................11 4.4 Bluetooth transmission behavior ........
Page 4
5.3 Connecting with Hyperterminal ........... 29 5.4 Configuration examples ............29 5.4.1 Connecting CAN to the PC through the CANblue II ....29 5.4.2 Configuring a CAN bridge with two CANblue II devices ..31 5.4.3 Connecting another CANblue II ..........34 Extended ASCII-Protocol Commands ........
Page 5
7.4 Information on EMC ............. 61 7.5 Compliance with RoHS directive......... 61 7.6 FCC Compliance Statement..........62 7.7 EC Declaration of Conformity ..........63 7.8 Japan Radio Equipment Compliance (TELEC) ....63 7.9 Technical Specifications ............65 CANblue II - Manual, Version 2.2...
The CANblue II units enables multiple CAN networks to connect wirelessly us- ing the Bluetooth Serial Port Profile (SPP). If two CANblue II units are con- nected, one unit acts as the SPP server and one as the SPP client. The units can act as server and client in different connections simultaneously, allowing more than two units –...
2.2.3 CAN bus plug X2 (CAN) The CANblue II has an ISO 11898-2 bus coupling. The signals for the bus coupling are on the 9-pin sub-D plug as shown in the following table. CANblue II - Manual, Version 2.2...
Hardware Signal Pin no. CAN-L CAN-H 2.2.4 LED display The CANblue II has three LEDs for signaling different states: Display Description Mode steady red No Bluetooth MAC address is stored in the configuration of the CANblue II, and there is no connection to an SPP server on the unit.
The MAC-ID is on the back of the device and is also used for the unique identification of devices when searching for them with Bluetooth. See also chapter 5, "Establishing a connection and configuration". CANblue II - Manual, Version 2.2...
To configure and transmit Bluetooth CAN messages, there is an ASCII proto- col defined. There is also a binary format available for the transmission of Bluetooth CAN messages to permit a better data rate. CANblue II units always use the binary format for CAN messages transmitted between them.
4 Behavior of the CANblue II Restore factory settings If there is a "Config" connection to the CANblue II, the device can be reset to the factory settings using the command "D SETTINGS_DEFAULT". Without a Bluetooth connection, the device can also be reset as follows: (1) Turn off the CANblue II.
CANblue II in the ASCII or binary format, the CANblue II switches to the same format. If the CANblue II is in autostart mode and a handshake is carried out on the "Config" connection (see 4.6 Autostart and handshake), the device switches to the binary format.
This concludes the handshake procedure and both CANblue II units will now exchange CAN messages in binary format. Automatic stop of the CAN controller If there is no more SPP connection to the CANblue II, the CAN controller au- tomatically stops. CAN filter Messages received by the CAN controller can be filtered.
„C FILTER_DISABLE“ (S.56) Loss of connection If a CANblue II has stored a Bluetooth MAC address, then for five seconds it will attempt to establish an SPP connection to that address. If the connection attempt fails, then a new attempt is always started after two seconds.
CAN controller is in normal operating mode or is stopped through the config connection (see 6.2.7 C CAN_STOP). The BUS-OFF recovery can also be carried out manually by using the config connect to stop and restart the CAN controller. CANblue II - Manual, Version 2.2...
Config server. To connect to the Config server of a CANblue II, a virtual COM port must be installed for the SPP connection on the device used. The user can see the virtual COM port as a physical COM connection present on the device which is connected through a cable to a CANblue II.
Page 17
(3) All available devices will then be displayed. The CANblue II devices have names like "CANblue II ([MAC address])". The MAC address can be found on the back of the CANblue II. Select the device to which you want to con- nect and confirm the selection with the "Next" button.
Page 18
Establishing a connection and configuration Fig.: 5-3 XP Bluetooth device wizard - Devices found (4) Now the passkey for the CANblue II must be entered. "Use the passkey found in the documentation" must be selected for the entry, and "7388" en- tered as the passkey.
Page 19
Click on the "Services" tab to search for the services of the device and display them. For the CANblue II, the two SPP servers of the device are shown here. One of these servers is named "Config".
Fig.: 5-6 XP Bluetooth device services (7) Now the virtual COM port displayed for the Config connection can be used to connect to the CANblue II. 5.1.2 Windows 7 (1) On the window for "Devices and printers" (Control Panel "Hardware and Sound"...
Page 21
"Close". Fig.: 5-8 W7 - Adding a device (3) Now the pairing code for the CANblue II must be entered. "Enter the de- vice’s pairing code" must be selected for the entry, and "7388" entered as the pairing code.
Page 22
Establishing a connection and configuration Fig.: 5-9 W7 - Enter device pairing code Fig.: 5-10 W7 - pairing code CANblue II - Manual, Version 2.2...
Page 23
Establishing a connection and configuration (4) The CANblue II added is now displayed on the window for "Devices and Printers". To determine the virtual COM port that can be used to connect to the Config server of the CANblue II, on the Services tab on the properties window for the device (right click on the device ...
CanBlueCon Configuration Tool To set up the CANblue II, the CanBlueCon tool is provided. It is capable of reading a configuration file with given commands and supports a command history, so that you can scroll through your last issued commands by pressing the UP/DOWN keys.
<TEXT> print text on display #exit abort the program An example of a CANblue II command with local echo and CANblue II reply: >c can_init 1000 I OK: CAN_INIT An example of a local command with local output: >#print CANblue Generic # CANblue Generic 5.2.3 Interactive Mode...
You can activate batch mode by specifying a configuration file as the second command line parameter of CanBlueCon.exe. The file is read and the com- mands are sent to the CANblue II. The additional commands of CanBlueConfig are especially useful here, be- cause you can easily implement loops and other constructs with them.
“ ”: CanBlueCon_Initialization_Master.txt #print ######################################### #print ## Demo: CANblue master initialization ## #print ######################################### #print #print Showing CANblue Generic Version d version #delay 0.5 #print #print Resetting device to factory default d settings_default CANblue II - Manual, Version 2.2...
Page 28
#print Setting AUTOSTART parameter to on, this is important for establish- ing a CANblue Bridge c autostart on #print #print Showing current configuration c config show #delay 0.5 #print #print Saving the configuration c config save CANblue II - Manual, Version 2.2...
5.4.1 Connecting CAN to the PC through the CANblue II The following example describes how a previously installed virtual COM port can be used to configure the CANblue II to exchange data with a CAN network connected to the CANblue II. Communication through the COM port can, for example, be carried out with Hyperterminal as described in chapter 5.3.
Page 30
Bluetooth SPP con- nection in ASCII format. (9) To send CAN messages to the CANblue II or into the connected CAN net- work, the ASCII (see 6.3.1 M (ASCII)) or binary (see 6.3.2 X (Binary)) for-...
Establishing a connection and configuration mat can be used. The CANblue II matches the transmission format of CAN messages on the SPP connection to the format received. (10) The following command sends a CAN data frame with standard identifier 7FF and the 7 data bytes "1A 2B 3C 4D 5E 6F 70" to the CAN bus: „M SD7 7FF 1A 2B 3C 4D 5E 6F 70...
Page 32
"C CAN_STOP " or you can use "C SEND_CAN_FRAMES OFF " to disable the transmission of CAN messages on that specific connection. (6) To instruct the CANblue II device A to forward all standard CAN messag- es, the filtering of standard identifiers must be disabled with "C FIL- TER_DISABLE STD...
Page 33
B. Since autostart mode is enabled on both CANblue II units, the CAN controllers of both CANblue II units are started automatically af- ter connecting. The two CANblue II units will now function as a bridge be- tween the two CAN networks.
Establishing a connection and configuration 5.4.3 Connecting another CANblue II To connect a third CAN bus using an additional CANblue II device C with the CAN buses of CANblue II A and B configured in 5.4.2, there are two different options: ...
Device specific Commands 6.1.1 D VERSION D VERSION LF/CR-LF Example: „D VERSION “ Parameter: Description: Gets the firmware version of the CANblue II. Response: „I CANblue Generic - Bridge v2.00.03\n“ „I OK: VERSION\n“ Errors: 6.1.2 D PROTOCOL D PROTOCOL LF/CR-LF Example: „D PROTOCOL...
D IDENTIFY LF/CR-LF Example: „D IDENTIFY “ Parameter: Description: Gets hardware version number and name of the CANblue II. The device name contains the Bluetooth MAC address. All LEDs of the CANblue II are blinking. Response: „I Name: IXXAT CANblue II (1A2B3C4D5E6F)\n”...
SAVE / LOAD / SHOW Select one of the values as operation Description: SAVE: Saves the current configuration. Saving can take several seconds. LOAD: Loads a configuration, if existing. SHOW: Shows the current configuration. CANblue II - Manual, Version 2.2...
Page 38
„I OK: CONFIG SHOW\n“ Errors: Error Response Description „E 63 Error while saving config\n” Error occurred during saving of the configuration. Configuration is lost. „E 61 No valid config\n” There is no valid configuration. CANblue II - Manual, Version 2.2...
Parameter is obsolete. (Optional, Default: 0) Description: Adds a Bluetooth MAC address of a SPP server to the CANblue II. The device tries to establish a connection to the SPP server of a Bluetooth device with the added MAC address.
Parameter: Description: Deletes all MAC addresses from the connection list of the CANblue II. (In the current firmware, there is only one MAC address supported). If there is an ac- tive connection to another device or the CANblue II tries to connect to another device, then this connection is closed before the MAC address is removed.
The MAC address is invalid. A valid MAC address consists of 12 digits. „E 53 MAC Address already ex- The MAC address has been already configured. ists\n” „E 54 Invalid MAC Address The MAC address range is invalid. range\n” CANblue II - Manual, Version 2.2...
D MAC_MASTER_CLEAR LF/CR-LF Example: „D MAC_MASTER_CLEAR “ Parameter: Description: Clears the MAC address master list. After clearing the list, a slave device will accept a Bluetooth connection from all devices. Response: „I OK: MAC_MASTER_CLEAR\n” Errors: CANblue II - Manual, Version 2.2...
Description: Changes the Bluetooth visibility. Response: „I OK: VISIBILITY\n” Errors: Error Response Description „E 2 Wrong parameter\n” The timeout value is out of range. CANblue II - Manual, Version 2.2...
RX CAN message collecting time in milliseconds. Description: Sets a timeout for the send buffer resp. the time between two consecutive TX Bluetooth packets of the CANblue II (see 4.4 Bluetooth transmission behavior). The timeout is applied to all Bluetooth SPP connections of the device. Response: „I OK: BUFF_TIMEOUT\n“...
2000 CAN Msg/s per direc- tion. If this setting is used, there is only one SPP connection possible per CANblue II. If a connec- tion between the CANblue II devices is established they cannot be found by a Bluetooth scan any- more.
Extended ASCII-Protocol Commands Description: The CANblue II sends the response and resets itself. Any established Blue- tooth connections are lost. Response: „I OK: RESET\n“ Errors: 6.1.18 D SETTINGS_DEFAULT D SETTINGS_DEFAULT LF/CR-LF Example: „D SETTINGS_DEFAULT “ Parameter: Description: The configuration is reset to the factory default values. A stored configuration is deleted.
Select one of the values as operation Description: SAVE: Saves the current configuration. Saving can take several seconds. LOAD: Loads a configuration, if existing. SHOW: Shows the configuration. Response: SAVE: „I OK: CONFIG SAVE\n“ LOAD: „I OK: CONFIG LOAD\n” CANblue II - Manual, Version 2.2...
Information to the TX queue size and transmitted CAN messages since last connection was made are also available. The TX counter is a WORD Value and starts from zero when 65535 by one. With the aid of these values it is CANblue II - Manual, Version 2.2...
Baud rate is not supported. Use one of the CIA baud rate. „E 31 Error while initializing CAN\n” Internal error, while initializing CAN controller. „E 4 Unsupported parameter\n“ Bus coupling „LOW“ is not supported. CANblue II - Manual, Version 2.2...
No valid baud rate could be detected within the given timeout. „E 4 Unsupported parameter\n“ Bus coupling „LOW“ is not supported. 6.2.5 C CAN_INIT_CUSTOM C CAN_INIT_CUSTOM BTO BT1 BUSCOP NAME LF/CR-LF Example: „C CAN_INIT_CUSTOM 0 1C HIGH „1000KBAUD CUSTOM” “ CANblue II - Manual, Version 2.2...
BT1 are equivalent to the bus timing register of the CAN controller Philips SJA1000, running at 16 MHz. The bus timing parameter is recalculated inter- nally for the CANblue II CAN controller. The CANblue II CAN controller does not support different sample rates and therefore bit 7 of the parameter BT1 is ignored.
ASCII/BINARY/OFF Sets the message format for transmitting over Bluetooth. Description: Enables or disables transmission of CAN messages in the direction, where the command comes from and sets the message format. Response: „I OK: SEND_CAN_FRAMES\n“ Errors: CANblue II - Manual, Version 2.2...
8, 16, 24 or 32 bit depending on the amount of characters of the CAN CAN-Id Range used memory in byte 0-7F 80-7FFF 8000-7FFFFF 800000-1FFFFFFF Response: „I OK: FILTER_ADD\n Errors: Error Response Description „E 41 Error adding ID to filter“ Out of memory for extended filter elements. CANblue II - Manual, Version 2.2...
Errors: 6.2.13 C FILTER_CLEAR C FILTER_CLEAR ID_TYP LF/CR-LF Example: „C FILTER_CLEAR EXT “ Parameter: Name Value Description ID_TYP STD/EXT Message type Description: Erases the standard or extended filter list. Response: „I OK: FILTER_CLEAR\n“ Errors: CANblue II - Manual, Version 2.2...
Parameter: Name Value Description ID_TYP STD/EXT Message type Description: Disables the standard or extended filter list. The filter list for standard and ex- tended IDs must be disabled separately. Response: „I OK: FILTER_DISABLE\n“ Errors: CANblue II - Manual, Version 2.2...
Description: With this command, CAN messages can be send over a Bluetooth connection to another CANblue II. The receiving CANblue II forwards the message to all established Bluetooth connections and if the local CAN controller is started, the message is also send on the CAN network.
CAN ID ID_LW_HB 0-FF low word, high byte of extended CAN ID ID_LW_LB 0-FF low word, low byte of extended CAN ID D0 – D7 0-FF up to 8 data bytes CANblue II - Manual, Version 2.2...
Page 59
Description: With this command, CAN messages can be send over a Bluetooth connection to another CANblue II. The receiving CANblue II forwards the message to all established Bluetooth connections and if the local CAN controller is started, the message is also send on the CAN network.
Depending on the free space of the send buffer, it is only possible to show a limited amount of filter elements via the command “C CONFIG SHOW”. „E 99 Unknown Error“ Internal error occurred without a specific error message. CANblue II - Manual, Version 2.2...
Compliance with RoHS directive CANBlue II was produced according to the RoHS (Restriction of the use of certain Hazardous substances in electrical and electronic equipment) directive and complies with the directive.
Increase the separation between the equipment and the receiver. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/TV technician for help. CANblue II - Manual, Version 2.2...
More information and the Declaration of Conformity is found at www.ixxat.com. Japan Radio Equipment Compliance (TELEC) CANBlue II uses the cB-0939 module which complies with the Japanese Technical Regulation Conformity Certification of Specified Radio Equipment (ordinance of MPT N°. 37, 1981), Article 2, Paragraph 1, Item 19, "2.4GHz band wide band low power data communication system".
Page 64
Appendix CANblue II - Manual, Version 2.2...
100% Bus load at 1 MBit Maximal distance between two devices in bridge mode: 200 meter/650 feet Depending on configured Bluetooth connection profile („D LINK_POLICY SHORTEST_LATENCY“), connection quality and distance between sender and receiver. CANblue II - Manual, Version 2.2...
Need help?
Do you have a question about the CANblue II and is the answer not in the manual?
Questions and answers