Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pierremolinaro/acanfd-stm32
STM32 G4 and STM32 H7 CANFD Driver
https://github.com/pierremolinaro/acanfd-stm32
Last synced: 11 days ago
JSON representation
STM32 G4 and STM32 H7 CANFD Driver
- Host: GitHub
- URL: https://github.com/pierremolinaro/acanfd-stm32
- Owner: pierremolinaro
- License: mit
- Created: 2023-07-12T10:52:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-03T08:44:07.000Z (over 1 year ago)
- Last Synced: 2024-11-06T12:38:21.412Z (2 months ago)
- Language: C++
- Size: 574 KB
- Stars: 11
- Watchers: 6
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## CANFD Library for STM32 G4 and H7
Handled boards:
* NUCLEO-G431KB (1 CAN FD),
* NUCLEO-G474RE (3 CAN FD),
* NUCLEO-H743ZI2 (2 CAN FD).### Compatibility with other ACAN libraries
This library is fully compatible with other ACAN libraries, it uses a very similar API and the same `CANFDMessage` and `CANMessage`classes for handling messages.
### ACANFD_STM32 library description
The driver supports many bit rates, as standard 62.5 kbit/s, 125 kbit/s, 250 kbit/s, 500 kbit/s, and 1 Mbit/s. An efficient CAN bit timing calculator finds settings for them, but also for exotic bit rates as 833 kbit/s. If the wished bit rate cannot be achieved, the `beginFD` method does not configure the hardware and returns an error code.
> Driver API is fully described by the PDF file in the `extras` directory.
### Demo Sketches
Demo sketches are provided for all handled boards in the `examples` directory.