Hi all,
I am trying to communicate with MCP2515 CAN Controller using VSPI. I would like to use IDF for development and avoid the Arduino libraries. For various unrelated reasons I have to use MCP2515 and not the built in CAN controller. I looked through the examples in the IDF folder for SPI, but it's a bit confusing. Are there any articles or tutorials that would guide me to using VSPI to read and write registers on the target device? I think I can figure our the rest, but if someone knows of a ready to go MCP2515 CAN library that works in the IDF, please let me know as well.
Thank you very much!
SPI Examples using ESP-IDF? MCP2515 CAN Controller lib?
Re: SPI Examples using ESP-IDF? MCP2515 CAN Controller lib?
Im interested in this too...all of the existing MCP2515 drivers rely on Arduino bits and just dont seem to work with ESP-IDF that well.
I havent been able to find one that really works nicely/natively with IDF.
I havent been able to find one that really works nicely/natively with IDF.
Re: SPI Examples using ESP-IDF? MCP2515 CAN Controller lib?
I ended up writing my own driver. It's not robust, just a few functions since I only need very simple operation. I'll post it later if I clean it up and make it functional more generically.
Re: SPI Examples using ESP-IDF? MCP2515 CAN Controller lib?
Can I using the same spi standard (https://911electronic.com/spi-communica ... spi-works/) for PIC32 can connection?
Re: SPI Examples using ESP-IDF? MCP2515 CAN Controller lib?
Hi,
is there any update? I am new to ESP-IDF and I am trying to set up communication via SPI between two ESP32 using MCP2515. Any sort of example or help would be appreciated.
Thank you
is there any update? I am new to ESP-IDF and I am trying to set up communication via SPI between two ESP32 using MCP2515. Any sort of example or help would be appreciated.
Thank you
Who is online
Users browsing this forum: Google [Bot], Hamzah Hajeir and 144 guests