{
  "node": {
    "id": "term:xcp",
    "type": "Term",
    "label": "XCP",
    "properties": {
      "id": "xcp",
      "name": "XCP",
      "aka": [
        "Universal Measurement and Calibration Protocol",
        "CCP"
      ],
      "section": "topic-data",
      "definition": "The ASAM protocol for reading internal variables of a running controller and changing its calibration parameters, over CAN, Ethernet or other buses; CCP is its CAN-only predecessor. Engineers use it to watch BMS state estimators in real time and tune thresholds.",
      "related": [
        "a2l",
        "mdf4",
        "can-bus",
        "ecu"
      ],
      "url": "https://lemonergy.com/learn/glossary/xcp/",
      "mentions": [
        "bms"
      ]
    }
  },
  "edges": [
    {
      "id": "edge:4140",
      "source": "term:xcp",
      "target": "topic:topic-data",
      "type": "belongsTo",
      "properties": {
        "sourceFile": "terms.json"
      }
    },
    {
      "id": "edge:4141",
      "source": "term:xcp",
      "target": "term:a2l",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:4142",
      "source": "term:xcp",
      "target": "term:mdf4",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:4143",
      "source": "term:xcp",
      "target": "term:can-bus",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:4144",
      "source": "term:xcp",
      "target": "term:ecu",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:mentions/xcp/bms",
      "source": "term:xcp",
      "target": "term:bms",
      "type": "mentions",
      "properties": {
        "sourceFile": "terms.json",
        "method": "build_glossary.mention_index + mentions",
        "field": "definition",
        "meaning": "Text mention; not a causal claim"
      }
    }
  ],
  "neighbors": [
    {
      "id": "topic:topic-data",
      "type": "Topic",
      "label": "Data, communication and electronics",
      "properties": {
        "id": "topic-data",
        "name": "Data, communication and electronics",
        "lede": "The control units, chips, protocols and file formats through which a battery is measured, controlled and logged.",
        "context": "Separate quantities from encoding and transport.",
        "example": "2500 in a log might mean 25.00 °C, 2.5 V or raw counts. Units and scale must accompany the value.",
        "lesson_url": "https://lemonergy.com/learn/fundamentals/battery-basics/",
        "lesson_label": "Open battery basics"
      }
    },
    {
      "id": "term:a2l",
      "type": "Term",
      "label": "A2L file",
      "properties": {
        "id": "a2l",
        "name": "A2L file",
        "abbr": ".a2l",
        "aka": [
          "ASAM MCD-2 MC"
        ],
        "section": "topic-data",
        "definition": "The ASAM description of a controller’s internal measurement and calibration variables — names, memory addresses, data types and conversions — that tools need to read or tune them over XCP. It is generated with each firmware build and must match it exactly.",
        "related": [
          "xcp",
          "hex-file",
          "mdf4",
          "firmware"
        ],
        "url": "https://lemonergy.com/learn/glossary/a2l/",
        "mentions": []
      }
    },
    {
      "id": "term:mdf4",
      "type": "Term",
      "label": "MDF4",
      "properties": {
        "id": "mdf4",
        "name": "MDF4",
        "abbr": ".mf4",
        "aka": [
          "ASAM MDF",
          "Measurement Data Format",
          "MDF"
        ],
        "section": "topic-data",
        "definition": "The ASAM standard binary format for measurement data, version 4 with the .mf4 extension: it stores decoded signals and raw bus frames side by side with their units, conversions and timestamps, compressed and indexed so large logs open quickly. It is the common exchange format for vehicle and battery test data.",
        "related": [
          "blf",
          "dbc",
          "a2l",
          "xcp",
          "data-logger",
          "hdf5"
        ],
        "url": "https://lemonergy.com/learn/glossary/mdf4/",
        "mentions": []
      }
    },
    {
      "id": "term:can-bus",
      "type": "Term",
      "label": "CAN bus",
      "properties": {
        "id": "can-bus",
        "name": "CAN bus",
        "aka": [
          "Controller Area Network",
          "ISO 11898"
        ],
        "section": "topic-pack",
        "definition": "The serial network over which a BMS talks to the vehicle or inverter: a two-wire differential bus, defined in ISO 11898, carrying short prioritised messages at up to 1 Mbit/s, or faster with CAN FD. Every node hears every message, and a dominant bit wins arbitration without any collision.",
        "related": [
          "can-high-low",
          "can-fd",
          "termination-resistor",
          "bms",
          "lin-bus",
          "fms-interface"
        ],
        "url": "https://lemonergy.com/learn/glossary/can-bus/",
        "mentions": [
          "inverter"
        ]
      }
    },
    {
      "id": "term:ecu",
      "type": "Term",
      "label": "Electronic control unit",
      "properties": {
        "id": "ecu",
        "name": "Electronic control unit",
        "abbr": "ECU",
        "section": "topic-data",
        "definition": "The general name for any controller on a vehicle network — BMU, VCU, CCU and motor controller are all ECUs. Each has its own address, firmware, diagnostic services and calibration data.",
        "related": [
          "bmu",
          "vcu",
          "ccu",
          "uds",
          "can-bus"
        ],
        "url": "https://lemonergy.com/learn/glossary/ecu/",
        "mentions": [
          "firmware"
        ]
      }
    },
    {
      "id": "term:bms",
      "type": "Term",
      "label": "Battery management system",
      "properties": {
        "id": "bms",
        "name": "Battery management system",
        "abbr": "BMS",
        "section": "topic-pack",
        "definition": "The electronics and software that keep a battery inside its safe window: measuring every cell voltage and many temperatures, estimating SOC and SOH, balancing cells, computing current limits, controlling the contactors and reporting over the vehicle network.",
        "related": [
          "state-of-charge",
          "cell-balancing",
          "state-of-power",
          "cell-supervision-circuit",
          "contactor",
          "can-bus"
        ],
        "lesson": "fundamentals/battery-basics/#cell-module-pack",
        "url": "https://lemonergy.com/learn/glossary/bms/",
        "mentions": [
          "state-of-health",
          "cell-voltage"
        ]
      }
    }
  ]
}
