Valentina Tagarelli
Analysis of Simulink External Mode using XCP Protocol via Serial and CAN Bus communication channels.
Rel. Massimo Violante, Massimiliano Curti. Politecnico di Torino, Corso di laurea magistrale in Mechatronic Engineering (Ingegneria Meccatronica), 2026
|
Preview |
PDF (Tesi_di_laurea)
- Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives. Download (8MB) | Preview |
Abstract
This thesis analyzes the use of Simulink External Mode for the execution, monitoring, and calibration of embedded system models, with a focus on the Universal Measurement and Calibration Protocol (XCP) for host-target interaction during model execution. Adopting a protocol- and architecture-oriented approach, the work examines how External Mode structures the interaction between the host environment and the embedded application. XCP is framed within the ISO/OSI model to highlight the separation of communication layers, considering serial communication and CAN bus as transport mechanisms. The study explores the integration of XCP within automatically generated code, distinguishing between hardware-independent and hardware-dependent layers, and identifying the interfaces that enable adaptation to different hardware targets.
Simulink models are implemented for the Nucleo STM32F4 with STM32F439ZI microcontroller using the Embedded Coder Support Package and a configuration file generated through STM32CubeMX
Relatori
Anno Accademico
Tipo di pubblicazione
Numero di pagine
Corso di laurea
Classe di laurea
Aziende collaboratrici
URI
![]() |
Modifica (riservato agli operatori) |
