Search found 305 matches

by jcsbanks
Thu Mar 30, 2017 10:43 am
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 307737

Re: About the CAN controller.

Thanks rudi. Yes I am using Kvaser Leaf Light v2 HS with OBD plug. SN65HVD230 CAN bus tranceiver (3.3V). Kvaser Leaf CAN H to SN65HVD230 CAN H. Kvaser Leaf CAN L to to SN65HVD230 CAN L. Kvaser Leaf GND pin 5 (signal ground) to to SN65HVD230 GND. I will try Kvaser Leaf GND pin 4 (chassis ground) and ...
by jcsbanks
Wed Mar 29, 2017 4:00 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 307737

Re: About the CAN controller.

Bit more info after playing all afternoon. The Tx pin is connected to the tranceiver from pin on ESP32 Devkit C to pin on the tranceiver chip, but the ESP32 cannot transmit. Pulling either Tx or Rx connection from ESP32 to tranceiver stops reception. The ECU only sends a single packet (but repeatedl...
by jcsbanks
Wed Mar 29, 2017 11:38 am
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 307737

Re: About the CAN controller.

Wow rudi, that is awesome, thanks very much! This is an amazing chip and forum, great support, you deserve to sell billions of ESP32. I have got the ESP32 and a CAN bus tranceiver hooked up to a Kvaser Leaf Light, with termination resistance. I can send a frame from Kvaser and the ESP32 receives it,...
by jcsbanks
Tue Mar 28, 2017 8:42 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 307737

Re: About the CAN controller.

As a follow up, the demo compiles fine if I compile it as it is in the zip, so I've removed version 0.1_third_parts. I can also see that I could:

Code: Select all

CAN_frame_t __TX_frame;
...and then set the ID with:

Code: Select all

__TX_frame.MsgId
Which is quite useful as I want to transmit and receive on multiple CAN IDs.
by jcsbanks
Tue Mar 28, 2017 8:22 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 307737

Re: About the CAN controller.

Great work on this! Great device! Received my ESP32 today and trying to compile CAN example. I thought it was best to clone version 0.1_third_parts and the menuconfig includes the options and saves them correctly. I copied main.c from http://www.barth-dev.de/wp-content/uploads/2017/01/ESP32_CAN_demo...