ThomasBarth / ESP32-CAN-Driver

CAN driver project for the Espressif ESP32
280 stars 77 forks source link

CANBUS pins must be GPIO4 & GPIO5? #11

Closed ghhsyy closed 6 years ago

ghhsyy commented 6 years ago

Good job!!! Thanks for sharing this dirver. I want use other pins for CAN, but I'm not sure it can work. I have test that GPIO4 and GPIO5 works well. good job!!!! Does it work when I use other pins besides GPIO4 & GPIO5?

ghhsyy commented 6 years ago

Is there any document about CANBUS of ESP32?

ThomasBarth commented 6 years ago

CAN also works on other pins. The OLIMEX ESP32-EVB Board e.g. uses Pin 5 and 35.

As far as I know, there is no real documentation for CAN on the ESP32, I build the driver on the SJA100 specification.