Closed josselinL69 closed 1 month ago
Which driver are you using for the USB-to-CAN v2?
I use this driver : IXXAT_SocketCAN_2_0_378_Modified_2023-11-22Beta (copy).zip
This is not a mainline Linux CAN driver. Please ask the authors of this driver for support.
If you configure the driver for loopback mode you cannot send any data. If it's correctly implemented by the driver and USB firmware.
If you device is in ERROR_PASSIVE
, it's likely that the your STM has no received the data correctly.
Feel free to reopen, if you have any issues.
Hello,
Subject : I try to set up a CAN connection between an STM32U5 and my computer using an USB-to-CAN v2.
Currently i'm able to receive data from the STM32 in my computer with candump. But when i try to send data to the STM from my computeur, there is error in communication.
I tried to send data in loopback mod in order to see sended data in candump but nothing is shown.
I have successfully installed the driver for ixxat USB-to-CAN in the kernel and there is no error when i do this command for initialization :
driver : ix_usb_can_2.0.367-MOD
here the result of![image](https://github.com/linux-can/can-utils/assets/166600614/02d4cbbc-81f5-4395-8982-72c0188d11a3)
ip -details link show can0
before sending data :here the result of![image](https://github.com/linux-can/can-utils/assets/166600614/838b66c3-4c4b-463c-8050-395512640d41)
ip -details link show can0
after sending data :Thanks per advance for any kind of help !