Implement FDCAN for STM32H7
This commit is contained in:
@ -3,8 +3,6 @@
|
||||
This repository contains an abstraction layer to provide a simplified & unified
|
||||
interface to the STM32 bxCAN and FDCAN peripherals.
|
||||
|
||||
**Warning**: Currently, only bxCAN (for the STM32F3 series) is supported.
|
||||
|
||||
## Installation
|
||||
|
||||
Simply add the repository to your `Core/Lib` directory. You can also add it as a
|
||||
@ -18,7 +16,12 @@ The library needs to be told what STM family you're using, so make sure one of
|
||||
the following symbols is defined when `FT_CAN_AL.c` is compiled or `FT_CAN_AL.h`
|
||||
is included:
|
||||
|
||||
- STM32F3
|
||||
- `STM32F3`
|
||||
- `STM32H7`
|
||||
|
||||
When using the FDCAN peripheral (H7 series), you also need to define
|
||||
`FTCAN_NUM_FILTERS` (and set it to the value of "Std Filters Nbr" you configured
|
||||
in your `.ioc`).
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user