adafruit / adafruit/Adafruit_CircuitPython_MCP2515
Possible addition?
- Dominant language
- Python
- Stars
- 29
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
I have something that might be of interest that can expand this library so it can support the full gambit of bitrates the interface is able to do.
Right now the only bitrates that are supported are the ones that are in a hard coded table. The attached file calculates the bit timing registers using the bitrate as an input. It can also be tweaked by using the sample point and synchronization jump width as input parameters as well.
The code I wrote supports a bunch of different CAN interface chip families
[can_bitrate.zip](https://github.com/adafruit/Adafruit_CircuitPython_MCP2515/files/5744407/can_bitrate.zip)
I can do up a PR if it is something that would be added, just let me know.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the attached can_bitrate.zip and locating the current hard-coded bitrate table. Compare its bitrate, sample-point, synchronization-jump-width inputs, and supported CAN interface chip families with this MCP2515 library. Done means the project has an agreed implementation that expands bitrate support beyond the existing table.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100