Page 1 of 1

ESP32 + ESP-IDF + MCP2515 How to?

Posted: Mon Jan 21, 2019 12:28 pm
by arrowcircle
Hi!
I am trying to connect MCP2515 to ESP32 using esp-idf, but can do this.
MCP2515 have SPI interface, but examples from IDF documentation use RX and TX.
But where to connect SCK and CS pins?
I tried to use it without these pins, but can send or receive any messages.
What is the proper way of connecting and initializing MCP2515 with ESP32 and IDF framework?

Re: ESP32 + ESP-IDF + MCP2515 How to?

Posted: Tue Jan 22, 2019 1:28 am
by ESP_Sprite
Erm, if you use the SPI driver, you have MISO/MOSI/SCK/CS as normal?