Title: AIO-3399C rs232 transfers [Print This Page] Author: krtsmn Time: 4/26/2019 02:07 Title: AIO-3399C rs232 transfers Last edited by krtsmn In 4/26/2019 02:14 Editor
I need to transmit/receive data via rs232. AFAIK, AIO-3399C has 4 serial ports. I try to use /dev/ttyS0. It doesn't work. On other end of serial channel sent data aren't received and data sent from other end aren't received at AIO-3399C. 'setserial' shows only one working serial port of four. I use standard kernel and rootfile from linux-SDK. What should I do to solve the problem? 'setserial' output is below:
$ setserial -g /dev/ttyS[0123]
/dev/ttyS0, UART: 16550A, Port: 0x0000, IRQ: 37
/dev/ttyS1, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS2: Device or resource busy
/dev/ttyS3, UART: unknown, Port: 0x0000, IRQ: 0
Thank you.Author: leungÏÈÉ Time: 4/28/2019 14:37
Other ttyS had been used by other function.
Seeing link below . There are something new uart you can use. http://wiki.t-firefly.com/en/AIO-3399J/driver_uart.htmlAuthor: aliimran Time: 6/19/2019 22:51
I see the below for teh AIO-3399C but the RS232 didn't work for me on /dev/ttysWK1, I connected a USB to RS232 and it worked on /dev/ttyUSB0.
Using the image AIO-3399C-LVDS-UBUNTU18.04-GPT-20190304-1222.img
Is anyone successful in using the RS232 on AIO-3399C? Author: penguin Time: 6/24/2019 11:29
Plz post the hardware connection picture, the kernel device tree setting (related to the series ports) and the test commands so that others can help you.Author: philipp.ludwig Time: 3/2/2022 01:58
I can confirm that RS232 on the AIO-3399C does not work as described. I followed the steps described here: https://wiki.t-firefly.com/en/AIO-3399J/driver_uart.html
And I tried accessing the ports via Java. No luck, no data is transferred.
Maybe its because parity, stop bits, etc are wrong ¨C but this is not documented, so this is hard to tell.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)