# QCLI sub-group: I2CM Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html) The I2CM sub-group demo is intended to demonstrate I2C primary controller functionality and APIs. ## Open Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html) This command is used to open an I2CM instance. | Parameter name | Type/Range | Description | | --- | --- | :---: | | instance | Number | Indicates the I2CM instance to open | ## Transfer Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html) This command is used to transfer data in I2CM. | Parameter name | Type/Range | Description | | --- | --- | --- | | SlaveType | String | SlaveType: support 'eeprom' and 'rawslave' | | Operation | String | Operation: 'w','r', or 'wr'.

| | Instance | Number | Instance: 0 Only one instance on QCC730 | | SlaveAddress | Hexadecimal | SlaveAddress: 7 bit I2C Slave address | | Frequency | Number | Frequency: 100/400/1000 kHz | | Address | String | Indicates the address of the data to be written to or read from | | DataLen | Number | Indicates the length of data to be written or read | | Data | String | Indicates the data to be written | ## Cancel Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html) This command is used to cancel an I2CM instance. | Parameter name | Type/Range | Description | | --- | --- | :---: | | instance | Number | Indicates the I2CM instance to cancel | ## Close Source: [https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html](https://docs.qualcomm.com/doc/80-Y8730-2/topic/qcli_sub_group_i2cm.html) This command is used to close an I2CM instance. | Parameter name | Type/Range | Description | | --- | --- | :---: | | instance | Number | Indicates the I2CM instance to close | Last Published: Jun 03, 2026 [Previous Topic QCLI sub-group: Platform](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli-sub-group-platform.md) [Next Topic QCLI sub-group: GPIO](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-2/topics/qcli_sub_group_gpio.md)