Search found 3 matches

by Shavo650
Sat Jan 07, 2023 8:26 pm
Forum: Hardware
Topic: Connect SN65HVD230 to CAN bus 95 kbps
Replies: 1
Views: 1949

Re: Connect SN65HVD230 to CAN bus 95 kbps

My transceiver was broken from beginning. The below registers works great after replacing it.

Code: Select all

case (long)95E3:
      modifyRegister(REG_BTR1, 0x0f, 0x0c);
      modifyRegister(REG_BTR0, 0x3f, 25);
      break;
by Shavo650
Sat Jan 07, 2023 8:16 pm
Forum: Hardware
Topic: TWAI\CAN controller - how to prevent going bus-off
Replies: 0
Views: 792

TWAI\CAN controller - how to prevent going bus-off

Hi all ! I use ESP32 with SN65VHD230 transceiver to hack CAN bus in my car. I already developed working code which was tested with Arduino + MCP2515. But after switch to ESP32, code started to act weird. It sometimes worked properly and sometimes didn't work at all(without any changes in code). So i...
by Shavo650
Sat Dec 31, 2022 1:41 pm
Forum: Hardware
Topic: Connect SN65HVD230 to CAN bus 95 kbps
Replies: 1
Views: 1949

Connect SN65HVD230 to CAN bus 95 kbps

Hi all! I use libraries from https://github.com/sandeepmistry/arduino-CAN .I want to use ESP32 + SN65HVD230 in my car. I can't find good parameters to set CAN bus bitrate to 95 kbps. I already did it for Arduino + MCP2515 and everything works fine, but not for ESP32. After i connect ESP32 to CAN bus...