qnx425 / qcan-usb-pro-fd

QCAN USB PRO FD firmware for NUCLEO-H743ZI2 board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

!ACHTUNG! READ FIRST COPYRIGHT ISSUE

QPCAN USB PRO FD firmware for NUCLEO-H743ZI2 board

Target hardware: NUCLEO-H743ZI2 board

Pinout:

PIN/PINS DESCRIPTION
PD0/PD1 CAN1 RX/TX
PB12/PB6 CAN2 RX/TX
PA11/PA12 USB FS DM/DP

Works with PEAK PCAN-View in Windows

Before connecting the device to the USB port, the following must be done in the PCAN-View window:

  1. All transmissions must be disabled.
  2. PCAN-View program must be disconnected from PCAN hardware.

Otherwise for unknown reasons there is a failure in USB connection.
Inside pcan_protocol_process_data() function fields pmsg->size and pmsg->type are zero.

Toolchain: GNU Arm Embedded Toolchain

It is possible to build firmware with STM32CubeIDE project (I used version 1.12.1) or make.


Limitations.

  1. Clock Frequency must be 80 MHz.
  2. Error Generator does not work.

License

WTFPL

About

QCAN USB PRO FD firmware for NUCLEO-H743ZI2 board


Languages

Language:C 99.6%Language:Assembly 0.3%Language:Makefile 0.1%