• Stars
    star
    278
  • Rank 148,016 (Top 3 %)
  • Language
    C
  • Created over 7 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CAN driver project for the Espressif ESP32

Third Party Components

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