![MEN BL70S Скачать руководство пользователя страница 39](http://html1.mh-extra.com/html/men/bl70s/bl70s_user-manual_1770475039.webp)
Getting Started
Page 39
2.8.6
Switching Serial Interfaces
The GPIO controller instance 1 is used to activate or switch serial interfaces of the box
PCs from UART to SGPIO. The functions are switched via multiplexers.
The default device name of the instance 1 of the GPIO controller 16z034_GPIO is
"gpio_2".
Table 3.
Functions of GPIO controller instance 1
Interface Multiplexer (mux_if0)
The interface multiplexer 0 is used to change the serial interface 1 (X1) from UART
(default setting) to SGPIO (required if you want to use the SA15 SA-Adapter in this slot).
Table 4.
Interface Multiplexer 0 truth table
The interface is switched using the following command:
Bit Position
Output Function
(GPO)
Input Function (PSR)
Default Setting
5
mux_if2
-
GPO(5):drive 0
6
mux_if0
-
GPO(6):drive 0
7
mux_if1
-
GPO(7):drive 0
Interface
Function
mux_if0
SA0
UART0
0
SGPIO
1
z17_io gpio_2 -p=6 -s=1 -h