Mcp2515 module with esp32 power supply

Hello,
I am trying to work with mcp2515 module using esp32.
The issue i am encountering is the following:

  1. The mcp2515 modules (people say) requires 5v to work correctly.
  2. The esp32 gpios work at 3.3v.
  3. 5v in gpio will damage esp32.

Reading the data sheet of the parts the module can work with 3v3 but it doesn't receive or send data. If i apply 5v to the modules vcc then the spi will output 5v into the esp32 which is bad.

Maybe i am missing something? How does it work?

Google will show you lots about " Logic Level Converters".................... :blush:

Thanks for the reply, i am willing to understand how something that shouldn't work works, and why people connect it to 5v when they can connect to 3v3.
Mcp2515 module and esp32 dont have logic level converts.

Post a link to the product page.

The 5v requirement is usually because of the transceiver chip chosen by the board designer.

You have to buy a logic level converter and use it to interface the 5V to 3.3V parts of the circuit.