https://github.com/leonrinkel/sam-fd
ATSAMC21 based CAN-FD interface
https://github.com/leonrinkel/sam-fd
atsamc21 can can-bus can-fd hardware sam-fd
Last synced: 4 months ago
JSON representation
ATSAMC21 based CAN-FD interface
- Host: GitHub
- URL: https://github.com/leonrinkel/sam-fd
- Owner: leonrinkel
- Created: 2023-08-27T10:43:09.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T21:33:50.000Z (almost 3 years ago)
- Last Synced: 2025-10-24T06:42:38.626Z (9 months ago)
- Topics: atsamc21, can, can-bus, can-fd, hardware, sam-fd
- Homepage: https://git.leon.fyi/sam-fd
- Size: 65 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sam-fd
ATSAMC21 based CAN-FD interface

## Initialization
Make sure you have a proper Zephyr development environment according to the official documentation.
```sh
west init -m https://git.leon.fyi/sam-fd-sdk --mr main sam-fd-workspace # or
west init -m https://github.com/leonrinkel/sam-fd-sdk --mr main sam-fd-workspace
cd sam-fd-workspace
west update
```
## Building
```sh
west build --sysbuild -b sam_fd sam-fd-sdk/app
```
## Flashing
### Using a Debugger
```sh
west flash --runner jlink # or
west flash --runner pyocd
```
### Via Serial Recovery
Serial recovery mode can be entered by running a command like the following immediately after resetting.
```sh
mcumgr \
--conntype serial \
--connstring dev=/dev/cu.usbserial-110,baud=115200 \
image upload -e build/app/zephyr/zephyr.signed.bin
```
## License
Please see [hardware/LICENSE](rev1/LICENSE) and [sam-fd-sdk](https://git.leon.fyi/sam-fd-sdk). The software side of this project is based on [Zephyr](https://www.zephyrproject.org) which is mostly licensed under the [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) license.