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
copyPage | Copy one calibration page to another in the real-time application (Since R2021b) |
getECUPage | Get current page number used by ECU on real-time application (Since R2021b) |
getNumPages | Get number of pages in memory for real-time application (Since R2021b) |
getXCPPage | Get current page number used by XCP on real-time application (Since R2021b) |
setECUAndXCPPage | Set memory pages used by XCP and ECU to selected memory page on real-time application (Since R2021b) |
setECUPage | Set memory page used by ECU to selected memory page on real-time application (Since R2021b) |
setXCPPage | Set memory page used by XCP to selected memory page on real-time application (Since R2021b) |
Blocks
XCP CAN Configuration | Configure XCP server connection |
XCP CAN Data Acquisition | Acquire selected measurements from configured server connection |
XCP CAN Data Stimulation | Perform data stimulation on selected measurements |
XCP CAN Transport Layer | Generate and consume XCP messages that are transported by CAN hardware (Since R2020b) |
XCP CAN FD Configuration | Configure XCP server connection (Since R2022b) |
XCP CAN FD Data Acquisition | Acquire selected measurements from configured server connection (Since R2022b) |
XCP CAN FD Data Stimulation | Perform data stimulation on selected measurements (Since R2022b) |
XCP CAN FD Transport Layer | Generate and consume XCP messages that are transported by CAN FD hardware (Since R2022b) |
XCP UDP Configuration | Configure XCP UDP server connection |
XCP UDP Data Acquisition | Acquire selected measurements from configured server connection |
XCP UDP Data Stimulation | Perform data stimulation on selected measurements |
XCP UDP Bypass | Connect the function-call outport to a function-call subsystem (Since R2020b) |
Topics
- XCP Client Mode
Learn about Simulink® Real-Time™ support for XCP client mode.
- XCP Page Switching for Tunable Parameters
Learn about Simulink Real-Time support for XCP page switching.
- Control and Update Stimulation of Inports to Real-Time Application
Stimulate the root inports of the application running on target computer.