Main Content

XCP

Stimulus and measurement with XCP in client mode

The Universal Measurement and Calibration Protocol (XCP) is a network protocol for connecting calibration systems to electronic control units (ECUs). To receive measurement values and send stimulation data for bypassing ECU code, use XCP blocks to implement a real-time application that runs in XCP client mode.

Functions

copyPageCopy one calibration page to another in the real-time application (Since R2021b)
getECUPageGet current page number used by ECU on real-time application (Since R2021b)
getNumPagesGet number of pages in memory for real-time application (Since R2021b)
getXCPPageGet current page number used by XCP on real-time application (Since R2021b)
setECUAndXCPPageSet memory pages used by XCP and ECU to selected memory page on real-time application (Since R2021b)
setECUPageSet memory page used by ECU to selected memory page on real-time application (Since R2021b)
setXCPPageSet memory page used by XCP to selected memory page on real-time application (Since R2021b)

Blocks

XCP CAN ConfigurationConfigure XCP server connection
XCP CAN Data AcquisitionAcquire selected measurements from configured server connection
XCP CAN Data StimulationPerform data stimulation on selected measurements
XCP CAN Transport LayerGenerate and consume XCP messages that are transported by CAN hardware (Since R2020b)
XCP CAN FD ConfigurationConfigure XCP server connection (Since R2022b)
XCP CAN FD Data AcquisitionAcquire selected measurements from configured server connection (Since R2022b)
XCP CAN FD Data StimulationPerform data stimulation on selected measurements (Since R2022b)
XCP CAN FD Transport LayerGenerate and consume XCP messages that are transported by CAN FD hardware (Since R2022b)
XCP UDP ConfigurationConfigure XCP UDP server connection (Since R2019a)
XCP UDP Data AcquisitionAcquire selected measurements from configured server connection (Since R2019a)
XCP UDP Data StimulationPerform data stimulation on selected measurements (Since R2019a)
XCP UDP BypassConnect the function-call outport to a function-call subsystem (Since R2020b)

Topics