/pcan_pro_x

:alien: XCAN PRO/PRO FD/FD USB2CAN firmware implementation for cheap STM32F4 hardware

Primary LanguageCDo What The F*ck You Want To Public LicenseWTFPL

!ACHTUNG! READ FIRST COPYRIGHT ISSUE

XPCAN PRO/PRO FD firmware for STM32F4 based boards

Target hardware:

  • Any STM32F407/405/417/415 based boards with 8/25MHz oscillator

Pinout:

PIN/PINS DESCRIPTION
PC10 STATUS LED
PA2/PA3 TX/RX CAN1 LED
PC6/PC7 TX/RX CAN2 LED
PB8/PB9 CAN1 RX/TX
PB5/PB6 CAN2 RX/TX
PB14/PB15 USB HS DM/DP
PA11/PA12 USB FS DM/DP*

Features:

Limits:

  • PRO FD firmware does not support FD frames cause bxCAN not supports it, but it will works with classic CAN
  • Some protocol specific messages not implemented yet
  • Be sure to use PB14/PB15 pins for USB if you wants PRO/PRO FD

Toolchain:

  • GNU Arm Embedded Toolchain

Tips:

  • PRO FD firmware has better performance on windows ( due internal PEAK driver implementation )

Build:

  • XCAN PRO firmware make pro only for USB HS
  • XCAN PRO FD firmware make pro_fd only for USB HS
  • XCAN FD firmware make fd supports by USB FS/HS
  • XCAN FD firmware for HEX-V2 HW make fd TARGET_CRYSTAL=25 TARGET_USB_ID=FS TARGET_VARIANT=HEXV2_CLONE

License

WTFPL