Wiren Board 4: Модуль расширения RS-232/en: различия между версиями

Материал из Wiren Board
(Новая страница: «Wiren Board 4: RS-232 Extension Module»)
 
(Новая страница: «The port is available in the system as»)
 
(не показано 12 промежуточных версий этого же участника)
Строка 1: Строка 1:
<languages/>
<languages/>


== Распиновка ==
== Pinout ==


Сигналы RS-232 выведены на клеммы модуля расширения O1-O3.
The RS-232 signals are output to the terminals of the O1-O3 extension module.


Распиновка:
Pinout:


* O1 - GND
* O1 - GND
Строка 11: Строка 11:
* O3 - RX
* O3 - RX


== Мультиплексирование ==
===Multiplexing ===


Модуль RS-232 мультиплексирован с неизолированным портом RS-485. Их одновременная работа не допускается
The RS-232 module is multiplexed with an uninsulated RS-485 port. Their simultaneous operation is not allowed




== Конфигурация ==
== Configuration ==


Для работы с RS-232, ядро Wiren Board необходимо сконфигурировать соответствующим образом.
To work with RS-232, the Wiren Board kernel must be configured in a specific way.


В файле <pre> /boot/uEnv.txt </pre>
In the <pre> /boot/uEnv.txt   </pre> file
нужно заменить строчку
you need to replace the line


<pre>
<pre>
Строка 27: Строка 27:
</pre>
</pre>


на
with


<pre>
<pre>
Строка 33: Строка 33:
</pre>
</pre>


и '''перезагрузить контроллер''' командой
and '''reboot controller''' by command


<pre>
<pre>
Строка 40: Строка 40:




См. статьи [[Просмотр файлов контроллера с компьютера]] и [[SSH]].
See [[Просмотр файлов контроллера с компьютера/en| 1]] and [[SSH/en ]].


==  Работа ==
==  Operation ==


Порт доступен в системе как
The port is available in the system as


<pre>
<pre>
/dev/ttyNSC1
/dev/ttyNSC1
</pre>
</pre>

Текущая версия на 20:43, 19 июля 2019

Другие языки:

Pinout

The RS-232 signals are output to the terminals of the O1-O3 extension module.

Pinout:

  • O1 - GND
  • O2 - TX
  • O3 - RX

Multiplexing

The RS-232 module is multiplexed with an uninsulated RS-485 port. Their simultaneous operation is not allowed


Configuration

To work with RS-232, the Wiren Board kernel must be configured in a specific way.

In the

 /boot/uEnv.txt   

file

you need to replace the line

fdt_file=/boot/dtbs/imx23-wirenboard41.dtb

with

fdt_file=/boot/dtbs/imx23-wirenboard41-rs232.dtb

and reboot controller by command

reboot


See 1 and SSH/en .

Operation

The port is available in the system as

/dev/ttyNSC1