Wiren Board 5.5: GPIO List/en: различия между версиями
FuzzyBot (обсуждение | вклад) м (FuzzyBot переименовал страницу Wiren Board 5.5:Список GPIO/en в Wiren Board 5.5: GPIO List/en без оставления перенаправления: Часть переводимой страницы Wiren Board 5.5:Список GPIO.) |
(Новая страница: «See also GPIO Howto») |
||
(не показано 9 промежуточных версий 1 участника) | |||
Строка 337: | Строка 337: | ||
See also [[Работа с GPIO/en|GPIO Howto]] | See also [[Работа с GPIO/en|GPIO Howto]] | ||
=== | === Радио модуль === | ||
Подключен по SPI1. | |||
{| border="1" | {| border="1" | ||
| sodim | | вывод sodim || GPIO ||вывод imx287 || пин || функция | ||
|- | |- | ||
|94 || 0-21 || N8 || RFM69_MOSI || MOSI | |94 || 0-21 || N8 || RFM69_MOSI || MOSI | ||
Строка 352: | Строка 352: | ||
| 132 || 0-3 || U7 || RFM69_CS || CS | | 132 || 0-3 || U7 || RFM69_CS || CS | ||
|- | |- | ||
| 150 || 1-6 || N2 || IRQ_RFM69 || | | 150 || 1-6 || N2 || IRQ_RFM69 || Прерывание | ||
|- | |- | ||
| 152 || 1-5 || M3 || RFM69_DIO2 || | | 152 || 1-5 || M3 || RFM69_DIO2 || | ||
Строка 360: | Строка 360: | ||
=== FFC | === FFC-разъём расширения === | ||
''' | '''Разъём не напаян на устройствах в стандартной комплектации''' | ||
{| border="1" | {| border="1" | ||
| sodim | | вывод sodim || GPIO ||вывод imx287 || пин || функция | ||
|- | |- | ||
Строка 403: | Строка 403: | ||
|} | |} | ||
=== | === Последовательные порты === | ||
{| class="wikitable" | {| class="wikitable" | ||
! | !Порт | ||
! | ! | ||
|- | |- | ||
Строка 412: | Строка 412: | ||
|- | |- | ||
|/dev/ttyAPP1 | |/dev/ttyAPP1 | ||
|RS-485 | |порт RS-485 на клеммниках "RS-485" | ||
|- | |- | ||
|/dev/ttyAPP2 | |/dev/ttyAPP2 | ||
|UART | |порт UART на первом модуле расширения | ||
|- | |- | ||
|/dev/ttyAPP3 | |/dev/ttyAPP3 | ||
| | |порт UART на втором модуле расширения | ||
|- | |- | ||
|/dev/ttyAPP4 | |/dev/ttyAPP4 | ||
|RS-485 | |порт RS-485 на клеммниках RS-485/CAN | ||
|} | |} | ||
Справочная информация по тестовым ревизиям: | |||
* [[Wiren Board 5: Список GPIO (rev 5.1) | * [[Wiren Board 5: Список GPIO (rev 5.1)]] |
Версия 19:48, 19 июля 2019
The article describes the connection of the built-in peripherals to the processor signals for the Wiren Board 5 (rev. 5.5, 5.6, 5.6.1).
Changes compared to version 5.3
1. Swapped WATCHDOG_IN (37) and MOD1_SCL (35)
2. SDA Mod1 migrated to 11 pin.
3. SPI is now common on all three connectors (SSP2), chip selects are different.
4. CS (MOD1) changed from 11 to 12 pin.
5. CS (MOD2) changed from 12 to 23 pin.
6. CS (MOD3) - 21 pin.
7. MOD3 supply management - 15 pin
8. Порт GSM получил RTS (pin 57) и CTS (pin 59).
9. /dev/ttyAPP4 RS-485 port on RS-485/CAN terminals switched to legs 9 (TX) and 13 (RX), RTS remained at 78.
АDC
terminal strip | function | sodim output | GPIO | imx287 output | comments |
A1 | FET/ADC/DI | 111 | LRADC1 | C9 | |
A2 | FET/ADC/DI | 109 | LRADC2 | C8 | |
A3 | FET/ADC/DI | 107 | LRADC3 | D9 | |
A4 | FET/ADC/DI | 105 | LRADC4 | D13 | |
R1 | R/ADC/DI | 101 | LRADC6 | C14 | |
R2 | R/ADC/DI | 103 | LRADC0 | D15 |
GPIOs on terminals
terminal strip | function | sodim output | GPIO | imx287 output | comments |
A1 (in) | FET/ADC/DI | 126 | 0-6 | U6 | |
A2 (in) | R/ADC/DI | 124 | 0-7 | T6 | |
A3 (in) | FET/ADC/DI | 122 | 0-28 | L9 | |
A4 (in) | R/ADC/DI | 106 | 0-27 | P7 | |
R2 (in) | FET/ADC/DI | 130 | 0-4 | T7 | |
R1 (in) | FET/ADC/DI | 128 | 0-5 | R7 |
GPIO for transistors
terminal strip | function | sodim output | GPIO | imx287 output | comments |
A1 (out) | ADC/FET/DI | 104 | 0-26 | P6 | Open collector output; |
A2 (out) | ADC/FET/DI | 102 | 0-16 | N7 | Open collector output; |
A3 (out) | ADC/FET/DI | 100 | 0-24 | R6 | Open collector output; |
A4 (out) | ADC/FET/DI | 98 | 0-20 | N6 | Open collector output; |
GPIOs for internal use
sodim output | GPIO | GPIO number | imx287 output | function |
86 | 3-20 | G7 | 1-wire | |
84 | 3-22 | F7 | 1-Wire transistor pull-up | |
52 | 3-29 (PWM4) | 125 | E10 | irda out |
61 | 3-14 | L6 | 3.3V rail shutdown irda in | |
39 | 2-14 | 78 | D1 | 5V out |
45 | 2-15 | 79 | E1 | irda in |
150 | 1-6 | N2 | RFM69H IRQ | |
132 | 0-3 | U7 | RFM69H chip select | |
152 | 1-5 | M3 | RFM69H _DIO2 | |
92 | 0-17 | N9 | SIM900R power FET (RESET) | |
134 | 0-2 | R8 | SIM900R power KEY | |
148 | 1-7 | 39 | P1 | SIM900R power status (input) |
35 | 2-12 | B1 | watchdog input | |
50 | PWM3 | E9 | Buzzer | |
80 | 3-26 | E8 | Red LED | |
82 | 3-23 | E7 | Green LED | |
197 | 3-6 | K5 | STAT1 (BATTERY_CHARGING) | |
198 | 1-30 | N1 | STAT2 (BATTERY_PRESENT) | |
77 | 1-27 | P5 | питание Wi-Fi (active low) | |
15 | 2-26 | B2 | питание на MOD3 (active low) |
GPIO on MOD1 extension connector
sodim output | GPIO | GPIO number | imx287 output | pinmux pad name | pin | function |
- | - | - | 3.3V | +3.3V | ||
11 | 2-27 | 91 | D2 | MX28_PAD_SSP3_SS0 | SDA | GPIO, I2C (soft) |
37 | 2-13 | 77 | С1 | MX28_PAD_SSP1_CMD | SCL | GPIO, I2C (soft) |
14 | 2-17 | 81 | C3 | MX28_PAD_SSP2_MOSI | MOSI | GPIO, SPI MOSI (SSP2) |
16 | 2-18 | 82 | B3 | MX28_PAD_SSP2_MISO | MISO | GPIO, SPI MISO (SSP2) |
10 | 2-16 | 80 | A3 | MX28_PAD_SSP2_SCK | SCK | GPIO, SPI SCK (SSP2) |
- | - | - | 5V | +5V | ||
42 | 3-11 | 107 | H7 | MX28_PAD_AUART2_RTS | RTS | AUART2_RTS, GPIO, I2C1_SDA, SAIF1_LRCLK |
- | - | - | GND | GND | ||
30 | 3-9 | 105 | F5 | MX28_PAD_AUART2_TX | TX | AUART2_TX, GPIO |
32 | 3-8 | 104 | F6 | MX28_PAD_AUART2_RX | RX | AUART2_RX, GPIO |
12 | 2-19 | 83 | C4 | MX28_PAD_SSP2_SS0 | CS | GPIO, SPI Slave Select (SSP2) |
GPIO on MOD2 extension connector
sodim output | GPIO | GPIO number | imx287 output | pinmux pad name | pin | function |
- | - | - | 3.3V | +3.3V | ||
34 | 0-22 | 22 | M8 | MX28_PAD_GPMI_RDY2 | SDA | GPIO, I2C SDA(soft), CAN0 TX |
36 | 0-23 | 23 | L8 | MX28_PAD_GPMI_RDY3 | SCL | GPIO, I2C SCL(soft), CAN0 RX |
14 | 2-17 | 81 | C3 | MX28_PAD_SSP2_MOSI | MOSI | GPIO, SPI MOSI (SSP2) |
16 | 2-18 | 82 | B3 | MX28_PAD_SSP2_MISO | MISO | GPIO, SPI MISO (SSP2) |
10 | 2-16 | 80 | A3 | MX28_PAD_SSP2_SCK | SCK | GPIO, SPI SCK (SSP2) |
- | - | - | 5V | +5V | ||
63 | 3-15 | 111 | K6 | MX28_PAD_AUART3_RTS | RTS | AUART3_RTS, GPIO, CAN1_RX |
- | - | - | GND | GND | ||
53 | 3-13 | 109 | L5 | MX28_PAD_AUART3_TX | TX | AUART3_TX, GPIO, CAN0_RX |
55 | 3-12 | 108 | M5 | MX28_PAD_AUART3_RX | RX | AUART3_RX, GPIO, CAN0_TX |
23 | 2-20 | 84 | D3 | MX28_PAD_SSP2_SS1 | CS | GPIO, SPI Slave Select (SSP2) |
GPIO on MOD3 extension connector
sodim output | GPIO | GPIO number | imx287 output | pin | function |
- | - | - | 3.3V | +3.3V | |
14 | 2-17 | 81 | C3 | MOSI | GPIO, SPI MOSI (SSP2) |
16 | 2-18 | 82 | B3 | MISO | GPIO, SPI MISO (SSP2) |
10 | 2-16 | 80 | A3 | SCK | GPIO, SPI SCK (SSP2) |
21 | 2-21 | 85 | D4 | CS | GPIO, SPI Slave Select (SSP2) |
GPIO on I/O extension connector
sodim output | GPIO | imx287 output | pin | function |
44 | 3-10 | H6 | INT | Abort |
46 | 3-25 | D8 | I2C0_SDA | I2C0 hardware |
48 | 3-24 | C7 | I2C0_SCL | I2C0 hardware |
See also GPIO Howto
Радио модуль
Подключен по SPI1.
вывод sodim | GPIO | вывод imx287 | пин | функция |
94 | 0-21 | N8 | RFM69_MOSI | MOSI |
138 | 0-0 | U8 | RFM69_MISO | MISO |
96 | 0-25 | P8 | RFM69_SCK | SCK |
132 | 0-3 | U7 | RFM69_CS | CS |
150 | 1-6 | N2 | IRQ_RFM69 | Прерывание |
152 | 1-5 | M3 | RFM69_DIO2 |
FFC-разъём расширения
Разъём не напаян на устройствах в стандартной комплектации
вывод sodim | GPIO | вывод imx287 | пин | функция |
76 | 4-11 | G1 | 4 | GPIO, ENET0_TXD2 |
74 | 4-12 | G2 | 5 | GPIO, ENET0_TXD3 |
72 | 4-10 | J2 | 6 | GPIO, ENET0_RXD3 |
70 | 4-9 | J1 | 7 | GPIO, ENET0_RXD2 |
68 | 4-15 | J3 | 8 | GPIO, ENET0_CRS |
66 | 4-14 | J4 | 9 | GPIO, ENET0_COL |
64 | 4-16 | E2 | 10 | GPIO, ENET_CLK |
62 | 4-13 | F3 | 11 | GPIO, ENET0_RX_CLK |
60 | 4-5 | E3 | 12 | GPIO, ENET0_TX_CLK |
58 | 4-0 | G4 | 13 | GPIO, ENET0_MDC |
56 | 4-1 | H4 | 14 | GPIO, ENET0_MDIO |
Последовательные порты
Порт | |
---|---|
/dev/ttyAPP0 | GSM/EDGE |
/dev/ttyAPP1 | порт RS-485 на клеммниках "RS-485" |
/dev/ttyAPP2 | порт UART на первом модуле расширения |
/dev/ttyAPP3 | порт UART на втором модуле расширения |
/dev/ttyAPP4 | порт RS-485 на клеммниках RS-485/CAN |
Справочная информация по тестовым ревизиям: