Test USB-ISS & CMPS11 with Comm Operator

Comm Operator is professional communication debug software for Serial Port, TCP/IP, UDP, I2C, HTTP and FTDI.

UBS-ISS is a Multifunction USB Communications Module of Robot Electronics for Serial Port, I2C bus, SPI and general purpose Analogue Input or Digital I/O.

CMPS11 is tilt compensated compass module of Robot Electronics.

Comm Operator Icon

USB-ISS CMPS11

Comm Operator

USB-ISS

CMPS11

Here will show you how to test USB- ISS and CMPS11 with Comm Operator.

Step 1: Download and install Comm Operator.

Step 2: According to USB-ISS and CMPS11 document, connect USB-ISS with CMPS11, and then connect USB-ISS with your computer.(You might need to install driver for USB-ISS.)

USB-ISS Pins CMPS11 Pins

USB-ISS

CMPS11

Connect USB-ISS & CMPS11 with Computer

Step 3: Run Comm Operator, click the icon or menu Open Connection –> Serial Port panel to select COM Port and Baud Rate for USB-ISS and click Open button.

Comm Operator - Open Serial Port

The connection status will be shown on the status bar of Comm Operator.

Comm Operator - Connection Status

Step 4: Click menu View –> Standard to show or switch to Quick Send – Standard panel.

Comm Operator - View - Standard

Step 5: Input data on Quick Send – Standard panel. Click Send button to send data.

Comm Operator - Send Setup Command for USB-ISS

According to the USB-ISS document, Hex data “5A 02 60 04” is  a 4-byte setup command. This will initialize I2C to 100khz.

From now on, USB-ISS module operators as an I2C bus master for CMPS11 module, and CMPS11 module is ready to communicate in I2C mode now.

According to USB-ISS document, the format for Write/Read to I2C device with a 1-byte internal address register is shown as below.

  • [USB-ISS Command] [Address+R/W] [Register Address] [Number of Data Bytes] [Data]…

Test Example :  Read the version of CMPS11

In Comm Operator Quick Send –Standard panel, input Hex data ”55 C1 00 01” in HEX format, then click Send button to read the version of CMPS11.

Comm Operator - Read CMPS11 Version

  • 0x55 is the USB-ISS command for write/read 1-byte addressed devices.
  • 0xC1 is the CMPS11 device default address 0x60 with 1-bit Read/Write.
  • 0x00 is CMPS11 Register Address for software version.
  • 0x01  is the number of read/write data byte.

Follow the rules above, the data to Read CMPS11 bearing is “55 C1 01 01” for 8-bit, or “55 C1 02 02” for 16-bit.

Tip: Check Add to List when you send data, the data will be added to Send Data List automatically.

Comm Operator - Send Data List

 

See also: Test CMPS11-I2C Mode with Comm Operator

Back to Comm Operator homepage

This entry was posted in Comm Operator and tagged , , , , . Bookmark the permalink.