Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HDMI2USB] Create a serial port extension board - Support both RS232 and RS485 modes. #10

Open
mithro opened this issue Apr 3, 2013 · 4 comments

Comments

@mithro
Copy link
Member

mithro commented Apr 3, 2013

Brief explanation

Create a serial port extension board - Support both RS232 and RS485 modes

Should also have lots of blinking lights.

Firmware should be modified so that they appear as USB-CDC ports to the computer.

Detailed Explanation

This can be achieved using SP331 transceiver.

The SP331 is a programmable RS-232 and/or RS-485 transceiver IC. The SP331 contains four drivers and four receivers when selected in RS-232 mode; and two drivers and two receivers when selected in RS-485 mode. The SP331 also contains a dual mode which has two RS-232 drivers/receivers plus one differential RS-485 driver/receiver.

The RS-232 transceivers can typically operate at 230kbps while adhering to the RS-232 specifications. The RS-485 transceivers can operate up to 10Mbps while adhering to the RS-485 specifications. The SP331 includes a self-test loopback mode where the driver outputs are internally configured to the receiver inputs. This allows for easy diagnostic serial port testing without using an external loopback plug. The RS-232 and RS-485 drivers can be disabled (High-Z output) by controlling a set of four select pins.

Further reading

Contacts

@sidoknowia
Copy link

This can be achieved using SP331 transcevier.
The SP331 is a programmable RS-232 and/or RS-485 transceiver IC. The SP331 contains four drivers and four receivers when selected in RS-232 mode; and two drivers and two receivers when selected in RS-485 mode. The SP331 also contains a dual mode which has two RS-232 drivers/receivers plus one differential RS-485 driver/receiver.
The RS-232 transceivers can typically operate at 230kbps while adhering to the RS-232 specifications. The RS-485 transceivers can operate up to 10Mbps while adhering to the RS-485 specifications. The SP331 includes a self-test loopback mode where the driver outputs are internally configured to the receiver inputs. This allows for easy diagnostic serial port testing without using an external loopback plug. The RS-232 and RS-485 drivers can be disabled (High-Z output) by controlling a set of four select pins.

@mithro
Copy link
Member Author

mithro commented Mar 21, 2014

A lot of care should be taken in figuring out the correct connectors for
http://www.zytrax.com/tech/layer_1/cables/tech_rs232.htm

RS-485/RS422 should probably end up on RJ45 style connectors.
RS232 should end up on good old DB9 connectors.

@mithro mithro added this to the GSoC 2014 End milestone Aug 1, 2014
@mithro
Copy link
Member Author

mithro commented Aug 2, 2014

Two Linux Kernel Drivers which support multiple serial ports on a single endpoint are;

  • edgeport
  • mxuport

@mithro
Copy link
Member Author

mithro commented Sep 15, 2014

Example designs from previous student;

image

copy of gsoc proposal by ayush3504

@mithro mithro added the GSoC label Feb 22, 2016
@mithro mithro removed this from the GSoC 2014 End milestone Feb 23, 2016
@mithro mithro changed the title [hdmi2usb] Create a serial port extension board - Support both RS232 and RS485 modes. [HDMI2USB] Create a serial port extension board - Support both RS232 and RS485 modes. Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants