Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1.15 KB

README.md

File metadata and controls

36 lines (19 loc) · 1.15 KB

stm32-vector-xcp-slave

Inspired from Vector XCP driver sample code (https://github.com/vectorgrp/XCPlite) to verify Vector CANape getting measurememts from STM32F767ZIT

CANape device will be set as XCP on ethernet and measures settings will come from ASAP2/nucleo_xcp_slave.a2l file.

NUCLEO-F767ZI-144

We implemented 2 mesures: the blue button pressed state and the proc temperature:

CANape

Build

cmake -S . -B build cmake --build build

Then use STM32CubeProgrammer to push stm32-vector-xcp-slave.elf to STM device

Debugging in VSCode

  • printf are redirected to USART3 (main.c)
  • Use Serial Monitor VSCode Extension (baud rate 9600) to display logs (much better than minicom!)

Serial Monitor

Disclaimer