Spacelynk USB communication towards FTDI - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10) +--- Thread: Spacelynk USB communication towards FTDI (/showthread.php?tid=4557) |
Spacelynk USB communication towards FTDI - spapantoniou85 - 06.02.2023 Hello to all, I have an issue with the integration of a USB device using Spacelynk. The 3rd party device can speak with my pc using the usb cable without any issue and I can send commands using different 3rd party softwares. When I connect the device to Spacelynk using the same usb cable I can identify the usb using the necessary script. It is strange that I see the message about the latency timer. What could be the issue (see the attached image) In any case the FTDI appear on my spacelynk as "/dev/ttyUSB0". Code: require('serial') I try to open the serial port to write a message but I get the following error: Code: Feb 1 09:47:21 spaceLYnk kern.err kernel: [ 1092.385584] ftdi_sio ttyUSB0: failed to get modem status: -32 The message does not arrive to the device. I have tried with different usb cables but no success. I have tried also to provide separate power to the usb cable using a second usb in the following hardware configuration:
Any idea why this is happening? How can I approach this problem? Thank you RE: Spacelynk USB communication towards FTDI - admin - 06.02.2023 Try a different USB-UART adapter. This one does not seem to be supported. RE: Spacelynk USB communication towards FTDI - spapantoniou85 - 06.02.2023 (06.02.2023, 10:19)admin Wrote: Try a different USB-UART adapter. This one does not seem to be supported. Hello admin, thank you for the immediate reply. If I understood correctly, the Spacelynk does not use correctly the communication of Microchip technology. Considering that it is quite difficult to change the 3rd party device part, can Spacelynk have any sort of update in future firmware releases? Thank you RE: Spacelynk USB communication towards FTDI - admin - 06.02.2023 Have you tried using /dev/ttyACM0 instead of /dev/ttyUSB0? RE: Spacelynk USB communication towards FTDI - spapantoniou85 - 07.02.2023 (06.02.2023, 10:54)admin Wrote: Have you tried using /dev/ttyACM0 instead of /dev/ttyUSB0? Thank you admin, this was the issue. Now my communication is correct. You can cloe the theat if you want. Best regards |