- ESPCan Driver
- Base CAN Driver forked from Thomas Barth
- General Component CAN Driver Pack Work for ESP-IDF with menuconfig from rudi ;-)
version 0.1 A basic CAN driver for the Espressif ESP32 by Thomas Barth
version 0.1_third_parts by rudi ;-)
Change Log from 08 Jan 2018
- avoid dominant CAN bus level while initialisation Details: https://github.com/ThomasBarth/ESP32-CAN-Driver/commit/312fd16f5921049fcc29dba64c1ef181f10ddc35
Change Log from 21 May 2017
-
update to new DPORT Access
-
DPORT Access changed Details: https://github.com/espressif/esp-idf/commit/377a1f5ea1ca9152524d54df6a7294620f42173c
-
added RTR support Furetheremore, the complete FIR record is now copied into the CAN frame type. This boosts performance.
Details: https://github.com/ThomasBarth/ESP32-CAN-Driver/commit/990a69465072a6ea7cf14f43f98fd6c95b8cf3a2
-
extended frames and interrupt types Added support for extended CAN frames and created an enum for the CAN Interrupts.
Details: https://github.com/ThomasBarth/ESP32-CAN-Driver/commit/b1536a9ed3fe61abdeb1a1eaf4abdba978b2a09f
Change Log from 22 March 2017
- modified for esp-idf
- modified for component driver mode
- menuconfig file created
- cretaed component.mk for menuconfig and component version
- modified and expanded demo code for using with menuconfig
- modified code for using it for Linux and Windows user
menuconfig config defines that you can use in the code:
ESPCan activated:
- CONFIG_ESPCAN ( bool )
baudrade 100,125, 250, 500, 800, 1000 and user:
- CONFIG_CAN_SPEED_100KBPS
- CONFIG_CAN_SPEED_125KBPS
- CONFIG_CAN_SPEED_250KBPS
- CONFIG_CAN_SPEED_500KBPS
- CONFIG_CAN_SPEED_800KBPS
- CONFIG_CAN_SPEED_1000KBPS
- CONFIG_CAN_SPEED_USER_KBPS
user CAN speed
- CONFIG_CAN_SPEED_USER_KBPS ( bool )
-CONFIG_CAN_SPEED_USER_KBPS_VAL (value)
gpio pins for CANRx and CANTx
- CONFIG_ESP_CAN_RXD_PIN_NUM
- CONFIG_ESP_CAN_TXD_PIN_NUM
node id ( CAN identifier )
- CONFIG_ESP_CAN_NODE_ITSELF
enbable/disable send test frames
- CONFIG_CAN_TEST_SENDING_ENABLED
- CONFIG_CAN_TEST_SENDING_DISABLED