ESP32 + ESP-IDF + MCP2515 How to?

arrowcircle
Posts: 1
Joined: Mon Jan 21, 2019 12:22 pm

ESP32 + ESP-IDF + MCP2515 How to?

Postby arrowcircle » Mon Jan 21, 2019 12:28 pm

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?

ESP_Sprite
Posts: 9020
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Tue Jan 22, 2019 1:28 am

Erm, if you use the SPI driver, you have MISO/MOSI/SCK/CS as normal?

Who is online

Users browsing this forum: No registered users and 61 guests