41 lines
909 B
Plaintext
41 lines
909 B
Plaintext
STM32H7 hardware depend part
|
|
==========================
|
|
|
|
Please set the device dependend define in the device designer.
|
|
|
|
CODRV_MCAN_CFG_VER_1
|
|
CODRV_MCAN_STM32_H7
|
|
|
|
CODRV_MCAN_CFG_VER_2
|
|
CODRV_MCAN_STM32_L5
|
|
CODRV_MCAN_STM32_G4
|
|
|
|
CODRV_MCAN_CFG_VER_3
|
|
CODRV_MCAN_STM32_MP1
|
|
|
|
|
|
codrv_mcan - CAN driver
|
|
codrv_canbittiming - additional bittimings
|
|
codrv_error - error handling
|
|
|
|
There are different examples for hardware initialization.
|
|
Compile and adapt only one of it!
|
|
|
|
cpu_stm32h7xx* - hardware initialization
|
|
cpu_stm32h7xx_atollic8 - STM32H743, Atollic8, ST HAL, CAN1
|
|
|
|
|
|
Use of additional bittimings:
|
|
=============================
|
|
- set CODRV_BIT_TABLE_EXTERN
|
|
|
|
depend of the Peripherie clock
|
|
- set CODRV_CANCLOCK_80MHZ
|
|
(please check the src included tables)
|
|
|
|
Debug functionality
|
|
===================
|
|
can_printf.c - send printf information over CAN
|
|
printf.js - script for CDE to see the printf information
|
|
|