Comm Operator v4.9 supports Quick Send – I2C Panel. It allows to you communicate with I2C devices through FTDI FT232H based USB to I2C bridge.
Here’s how to test I2C device HMC5883 with Comm Operator I2C Panel.
Download Comm Operator v4.9 beta version to try.
Step 1: Download and install Comm Operator.
Step 2: Connect I2C device HMC5883 with your computer through FTDI FT232H based USB to I2C bridge.
Step 3: Run Comm Operator, and Open Connection –> I2C Bridge to connect I2C device HMC5883.
Step 4: Click menu View –> I2C Panel to show Quick Send – I2C Panel.
Step 5: Click Scan button to search I2C device HMC5883 address.
If you know the device address, you can just select it from the drop-down list.
Step 6: You can communicate with I2C device HMC5883 now.
According to I2C protocol and I2C device HMC5883 document, check Write and Read, and input data ”01” (It’s register address of HMC5883 . “01” indicates Configuration Register B), then click Send button to read the value of Configuration Register B.
Step 7: Click Edit button to show I2C Data Editor. You can edit address and data here in binary.
A. Select the number of Read Data Length to get several data at once. The screenshot below shows read 6 Data Output X MSB, X LSB, Y MSB, Y LSB, Z MSB, Z LSB at the same time.
B. Check Add to List when you send data to I2C device HMC5883 , the data will be added to Send Data List automatically. It’s pretty handy to save the list for later use. You can also Download HMC5883.sds file, and load it in Comm Operator directly to test your HMC5883 I2C device.