Wiren Board 4: Модуль расширения RS-232/en: различия между версиями
(Новая страница: «== Configuration ==») |
(Новая страница: «To work with RS-232, the Wiren Board kernel must be configured in a specific way.») |
||
Строка 18: | Строка 18: | ||
== Configuration == | == Configuration == | ||
To work with RS-232, the Wiren Board kernel must be configured in a specific way. | |||
В файле <pre> /boot/uEnv.txt </pre> | В файле <pre> /boot/uEnv.txt </pre> |
Версия 20:42, 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.
В файле
/boot/uEnv.txt
нужно заменить строчку
fdt_file=/boot/dtbs/imx23-wirenboard41.dtb
на
fdt_file=/boot/dtbs/imx23-wirenboard41-rs232.dtb
и перезагрузить контроллер командой
reboot
См. статьи Просмотр файлов контроллера с компьютера и SSH.
Работа
Порт доступен в системе как
/dev/ttyNSC1