Firefly Open Source Community

   Login   |   Register   |

AIO-3399C rs232 transfers

11

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
11
Posted at 4/26/2019 02:07:52     
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.
Reply

Use props Report

581

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
581
Posted at 4/28/2019 14:37:14     
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.html
Reply

Use props Report

20

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
20
Posted at 6/19/2019 22:51:15     
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

http://wiki.t-firefly.com/en/AIO-3399C/driver_uart.html

Is anyone successful in using the RS232 on AIO-3399C?
Reply

Use props Report

939

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
939
Posted at 6/24/2019 11:29:07     
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.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list