Bridge 1.1 API - I3C Common Command Codes

CCC (Common Command Codes)

The CCC (Common Command Codes) provides a set of universal commands supported across multiple devices. The Bridge for Supernova has a few CCCs which can be used to interact with the downstream devices. This section details these CCCs. For more information on this topic see I3C Common Command Codes section.

GETPID

  • Command Request:

    {
      "transaction_id": 9,
      "command": "i3c_ccc_send",
      "params": {
        "cccName": "GETPID",
        "address": "08",
        "pushPullClockFrequencyInMHz": "5",
        "openDrainClockFrequencyInKHz": "2500",
        "cccParams": {}
      }
    }
  • Responses:

    1. Immediate promise:

    {
      "transaction_id": "9",
      "status": "success",
      "type": "command_response",
      "is_promise": true,
      "data": {
        "command": "i3c_ccc_getpid"
      }
    }
    1. Command result:

    {
      "transaction_id": "9",
      "status": "success",
      "type": "command_response",
      "is_promise": false,
      "data": {
        "is_response_to": "i3c_ccc_getpid",
        "status": "success",
        "result": {
          "payload": ["0", "0", "0", "0", "64", "65"],
          "payload_size": 6
        }
      }
    }

DIRECTSETMRL

  • Command Request:

  • Responses:

    1. Immediate promise:

    1. Command result:

DIRECTENEC

  • Command Request:

  • Responses:

    1. Immediate promise:

    1. Command result:

Note: For DIRECTDISEC the response's format is very similar, except that the accepted events are ["DISINT", "DISCR", "DISHJ"]. For BROADCASTENEC and BROADCASTDISEC is also similar but address parameter is not required.

SETAASA

  • Command Request:

  • Responses:

    1. Immediate promise:

    1. Command result:

ENTDAA

  • Command Request:

  • Responses:

    1. Immediate promise:

    1. Command result:

Note: When using this command is necessary to previously run i3c_init_bus followed byi3c_reset_bus.

BROADCASTRSTACT

  • Command Request:

  • Responses:

    1. Immediate promise:

    1. Command result:

Note: Similar to DIRECTRSTACT but does not require an address parameter.

DIRECTENDXFER

  • Command Request:

  • Responses:

    1. Immediate promise:

    1. Command result:

Note: Similar to BROADCASTENDXFER, but requires an address parameter.

BROADCASTSETXTIME

  • Command Request:

  • Responses:

    1. Immediate promise:

    1. Command result:

Note: Similar to DIRECTSETXTIME, but does not require an address parameter.

Currently Supported CCCs:

Refer to this table for current support status (see Bridge column).

Last updated