Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] RS485 port does not support serial_rs485?

75

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
75

【Linux】 RS485 port does not support serial_rs485?

Posted at 7/9/2023 07:41:44      View:1311 | Replies:2        Print      Only Author   [Copy Link] 1#
  • Type: Self-Compiled Firmware
  • SDK Package Name: Buildroot 20221212
  • Last Commit: 0000-00-00 00:00:00
  • Modification Content: my package
  • Log: log.zip
Problem description and steps to reproduce:
Last edited by EugenyB1 In 7/9/2023 07:43 Editor

Device=iHC-3308GW. I have built firmware using your official instructions. My application gives errno 25 'Inappropriate ioctl for device' for setting ttysWK0 and ttysWK1 ports with serial_rs485 using TIOCSRS485 IOCTL. Is RS-485 a true genuine RS-485 port, or some clone of RS-232 to RS-485 conversion without proper transmitter control? I am interested in setting delay_rts_before_send and delay_rts_after_send.

log.zip

155 Bytes, Down times: 2

Reply

Use props Report

26

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
26
Posted at 7/10/2023 10:31:40        Only Author  2#
It is not a clone, these 4 serial ports are isolated on hardware and are independent serial ports.
Reply

Use props Report

26

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
26
Posted at 7/10/2023 10:43:10        Only Author  3#
The reply to the forum post may not be timely, you can send the question to my mailbox

email:
hjc@t-chip.com.cn
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