Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Pacerino/TWAI_SLCAN
SLCAN implementation for ESP32-S3 with TWAI
https://github.com/Pacerino/TWAI_SLCAN
Last synced: about 2 months ago
JSON representation
SLCAN implementation for ESP32-S3 with TWAI
- Host: GitHub
- URL: https://github.com/Pacerino/TWAI_SLCAN
- Owner: Pacerino
- Created: 2023-04-27T18:12:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-18T17:18:13.000Z (10 months ago)
- Last Synced: 2024-08-03T04:09:05.516Z (5 months ago)
- Language: C++
- Size: 4.88 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-canbus - esp32s3-slcan - SLCAN implementation for ESP32-S3 (based on [esp32-slcan](https://github.com/mintynet/esp32-slcan)). (Hardware / Espressif Systems (ESP8266, ESP32))
README
# TWAI SLCAN
This is a quick and dirty implementation of SLCAN for the ESP32-WROOM-1 on [RejsaCAN v3.4](https://github.com/MagnusThome/RejsaCAN-ESP32).
This repo is based on the work of [mintynet/esp32-slcan](https://github.com/mintynet/esp32-slcan)
SLCAN/LAWICEL protocol definition can be found [here](http://www.can232.com/docs/canusb_manual.pdf)
## LED Explanation
| LED | PIN | Explanation |
|------------|-----|-------------------------------------------------------------------------------------------------------------------------------|
| BLUE_LED | 10 | The Blue LED indicates the status of the CAN Bus, Blink once means CAN 0 is open, Blink twice means the CAN 0 has been closed |
| YELLOW_LED | 11 | This LED indicates an error. I've implemented this to debug the code/show that an error occurred |## Disclaimer
I'm not an C++ developer and therefore missing the knowledge. What im seeing from the serial console looks correct. Right now sending data from ESP32 to the CAN bus is not implemented! The TWAI driver runs in `TWAI_MODE_LISTEN_ONLY`.