Skip to content

ldelaprade/stm32-vector-xcp-slave

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages