Usb connectivity android device waveshare adapter

Hi,

I am a new user of the realdash app, i am trying to setup an android tablet as dash wired to a maxxecu street through CAN connection.

for that im using a waveshare USB-CAN A adapter.
when i do connect the adapter to PC, i see the CAN data flowing in the waveshare configuration tool. so there is CAN traffic and connections are okay.

when connecting the adapter to tha tablet, im struggling to get it working properly.

when i connect the adapter to the tablet, the adapter is recognized and realdash automatically boots up when i plug the adapter in. the serial and CAN baud rates set in realdash do match these set to the adapter.

but when i open CAN monitor i dont see any data flowing, the window remains empty.
Sending frames on the CAN bus with realdash works, when i send a can message with realdash i see it on the CAN bus (an additional canalyzer connected to the bus).

in the android settings i did change the default USB settings to data transfer.
i do also see the usb setting “USB controlled by:”
currently this is set to “connected device” but i cannot change it to the tablet itself.

does anybody know, if this can cause my issue? and how to fix this so i can change it?

thanks in advance for the help

Hard to say. You could try another USB-OTG adapter, but they all typically work just fine.

i tried another one, but symptoms are similar.
any ideas what could block realdash from reading CAN frames, but allowing realdash to transmit CAN messages?

No, sorry. I have no idea what could cause this.

Were you able to figure this out? Experiencing the same issue.

We have not been able to reproduce this issue on any of our test environments.

I did not unfortunately, I used direct usb connection as intermediate solution. I have now bought a different tablet as my precieus one did not allow to charge and transfer data at the same time. However still having issues during intital testing using the waveshare adapter. I Will look into it further again once the new tablet is mounted.

If I cant get it working I might try with a different can to usb adapter to see if that makes any difference.

Did you manage to get it working in the meantime?

Have you tried lowering the serial baud rate of this adapter? The default 2M baud does not work well on some Android devices.

Hi, yes I tried different baudrates with no luck, the curious thing with this issue, is that sending CAN frames does work but not reading them

What is the resistance of your CAN lines?

I have 2 120 ohms on each end , so measuring on the can lines I have 60ohms

Hi, I signed up to the forum because I was having this exact issue except I’m using a Haltech Platinum Pro Plugin ecu.

Assuming you have set everything properly according to what your ecu’s canbus operates on (CAN speed etc) what fixed it for me was setting the Protocol to “variable length” and also ticking the “only send once” option in the CAN Configure section of the Waveshare tool.

I’m not sure which of those options fixed it but after 15 hours of trying to eliminate absolutely every possibility apart from replacing the adapter or ecu, I don’t want to mess with it again :joy: