You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version 0.1
A basic CAN driver for the Espressif ESP32 by Thomas Barth
version 0.1_third_parts by rudi ;-)
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
- CAN_TEST_SENDING_ENABLED
- CAN_TEST_SENDING_DISABLED