Changes

Jump to: navigation, search
m
!Notes
|-
|{{oldid|81678174|1.0.0}}
|October 2018
|[[AXEL_ULite_and_SBC_Lynx_Embedded_Linux_Kit_(XUELK)#Downloadable_binary_images | 2.0.1]]
[[:Category:SBC_Lynx|SBC Lynx]] has two [[Physical_devices_mapping_(XUELK)#Multi-protocol_UARTs | serial port connector]] for mutliprotocol UARTs. Sometimes, further serial port can be required for particular applications.
This application note describes how to add other another serial port using standard cable like the [http://www.manhattan-products.com/usb-to-serial-converter Manhattan PL2303] USB to serial converter
==USB serial converte converter kernel driver==
XUELK kernel [[AXEL_ULite_and_SBC_Lynx_Embedded_Linux_Kit_(XUELK)#Downloadable_binary_images | 2.0.1]] already integrates the PL2303 driver.
==tty==
If the kernel driver is present, the kernel create creates the <code>ttyUSBx</code> device node, e.g.
<pre class="board-terminal">
</pre>
or getting a string from the other device simply with a cat on the device (terminated with Ctrl+C):
<pre class="board-terminal">
== Serial port hotplug ==
Disconnecting the USB serial port adapter, the kernel close closes the device:
<pre class="board-terminal">
<pre class="board-terminal">
root@sbc-lynx:~# [ 555.621794] usb 1-1: new full-speed USB device number 3 using ci_hdrc
[ 555.786656] pl2303 1-1:1.0: pl2303 converter detected
[ 555.812561] usb 1-1: pl2303 converter now attached to ttyUSB0
</pre>
8,154
edits

Navigation menu