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

472

Credits

10

Prestige

10

Contribution

intermediate

Rank: 3Rank: 3

Credits
472
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

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

This forum Credits Rules

Quick Reply Back to top Back to list