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

Материал из Wiren Board
(Новая страница: «with»)
(Новая страница: «and '''reboot controller''' by command»)
Строка 33: Строка 33:
</pre>
</pre>


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


<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


См. статьи Просмотр файлов контроллера с компьютера и SSH.

Работа

Порт доступен в системе как

/dev/ttyNSC1