Oliver Hartkopp
Oliver Hartkopp
> OBD port is not directly connected to any network segment. It is connected to a gateway. To get some response, you will need to send a request, for example...
Such a delay - especially on candump-level - is very likely no SocketCAN issue. I assume either the CAN bus is not properly terminated (2x 120 Ohms) or the bitrate...
> I am using combination of these two for CAN hardware > https://comma.ai/shop/products/panda-obd-ii-dongle How did you connect the adapter to your Ubuntu machine? Via USB or Wifi? Can you send...
Ok. I checked the USB SocketCAN driver at https://github.com/commaai/panda/tree/master/drivers/linux AFAICS the USB driver just tunnels CAN frames (from up to 3 CAN interfaces) over USB - without any configuration possibilities....
Yes. Proper termination is the key. E.g. see here: https://www.ni.com/en-gb/innovations/white-papers/09/can-physical-layer-and-termination-guide.html As you can see there are two 120 Ohms resistors in parallel(!) which results in 60 Ohms. AFAIK the OBD...
Yes. Makes sense for CAN_RAW and for the 'unconnected/unbound' CAN_BCM socket too. At least better than "Learning by pain" (here: loss of lifetime) :-D Will add Reported-by/Suggested-by tags for you....
> This is how I send requests to ECU: `cansend can0 7F0#F4.04.00.00.52.80.D8.24` `sleep 0.02` `cansend can0 7F0#F4.04.00.00.52.80.D8.28` This sending setup starts three processes which are scheduled by the system -...
> 1. Without additional CAN frames on the bus, I recorded 18 out of 18 files without losing of data. Good! > 2. With simulation of the real bus, I...
500 was just a guess to see what happens. The MCP2515 with SPI is not a very performant setup. And based on the CAN traffic it has to make many...
E.g. the Seeed CAN FD CAN HAT seems to support up to 40MHz SPI clock https://github.com/raspberrypi/linux/blob/rpi-5.4.y/arch/arm/boot/dts/overlays/seeed-can-fd-hat-v2-overlay.dts While your RS485 CAN HAT https://www.waveshare.com/wiki/RS485_CAN_HAT seems to support 1MHz or 2MHz. That doesn't...