UEXT-разъемы/en: различия между версиями

Материал из Wiren Board
(Новая страница: «{| class="wikitable" |+<big>UEXT1</big> |- ! Pin !! Name !! I/O !! Logic !! - !! - |- | 1 || 3.3 V || S || S || +3.3 volt |- | 2 || GND || S || S || Ground |- | 3…»)
(Новая страница: «{| class="wikitable" |+<big>UEXT2</big> |- ! Pin !! Name !! I/O !! Logic !! - !! - !! notes |- | 1 || 3.3 V || S || S || +3.3 volt |- | 2 || GND || S || S || Grou…»)
Строка 49: Строка 49:
|+<big>UEXT2</big>
|+<big>UEXT2</big>
|-
|-
! Pin !! Name !! I/O !! Logic !! - !! - !! примечания
! Pin !! Name !! I/O !! Logic !! - !! - !! notes
|-
|-
| 1 || 3.3V || S || S || +3.3 volt
| 1 || 3.3 V || S || S || +3.3 volt
|-
|-
| 2 || GND || S || S || Ground
| 2 || GND || S || S || Ground
|-
|-
| 3 || TXD || O || PP || style="background: cyan" | [[SC16IS752|sc16is752 UART0]] Tx || || параллельно RS-485
| 3 || TXD || O || PP || style="background: cyan" | [[SC16IS752|sc16is752 UART0]] Tx || || parallel to RS-485
|-
|-
| 4 || RXD || I || PP || style="background: cyan" | [[SC16IS752|sc16is752 UART0]] Rx || || параллельно RS-485
| 4 || RXD || I || PP || style="background: cyan" | [[SC16IS752|sc16is752 UART0]] Rx || || parallel to RS-485
|-
|-
| 5 || SCL || O || OD || style="background: orange" |   [[Работа с GPIO|GPIO]] [[Список GPIO|51]] || I<sup>2</sup>C, SCL  
| 5 || SCL || O || OD || style="background: orange" | [[Working with GPIO|GPIO]] [[GPIO list|51]] || I<sup>2</sup>C, SCL  
|-
|-
| 6 || SDA || I/O || OD || style="background: orange" |[[Работа с GPIO|GPIO]] [[Список GPIO|53]] || I<sup>2</sup>C, SDA  
| 6 || SDA || I/O || OD || style="background: orange" |[[Working with GPIO|GPIO]] [[GPIO list|53]] || I<sup>2</sup>C, SDA  
|-
|-
| 7 || MISO || I || PP || style="background: yellow" | Шина SPI, MISO  
| 7 || MISO || I || PP || style="background: yellow" | SPI Bus, MISO  
|-
|-
| 8 || MOSI || O || PP || style="background: yellow" | Шина SPI, MOSI  
| 8 || MOSI || O || PP || style="background: yellow" | SPI Bus, MOSI  
|-
|-
| 9 || SCK || O || PP || style="background: yellow" | Шина SPI, SCK  
| 9 || SCK || O || PP || style="background: yellow" | SPI Bus, SCK  
|-
|-
| 10 || SSEL || O || PP || style="background: yellow" | [[Работа с GPIO|GPIO]] [[Список GPIO|91]] || Шина SPI, CS
| 10 || SSEL || O || PP || style="background: yellow" | [[Работа с GPIO/en|GPIO]] [[Список GPIO|91]] || SPI Bus, CS
|}
|}



Версия 10:12, 19 июля 2019

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

Universal EXTension (UEXT) is a circuit of a connector that includes a power line and three serial data interfaces: UART, I2C, SPI. Developed by Olimex and is open and free. UEXT specification.

UEXT connector consists of 10 pins, 5 pins in two rows in a plastic frame. The distance between pins is 2.54 mm. The connector connects to a 2x5 (10-pin) IDC socket and usually connects to flat cable. See also [1].


Technical specifications

UEXT pinout for IDC connector
(looking into connector on host board)


UEXT-connectors on the Wiren Board controller board

There are two UEXT-connectors on the board of Wiren Board controller v2.8. But in the second connector, the MISO, MOSI, SCK lines are duplicated with the corresponding pins of the first connector. TxD and RXD lines are duplicated with RS-485 inputs.


UEXT1
Pin Name I/O Logic - -
1 3.3 V S S +3.3 volt
2 GND S S Ground
3 TxD O PP Debug UART/en Tx
4 RXD I PP [Debug UART/en]] Rx
5 SCL O OD Hardware I2C, SCL
6 SDA I/O OD Hardware I2C, SDA
7 MISO I PP SPI Bus, MISO
8 MOSI O PP SPI Bus, MOSI
9 SCK O PP SPI Bus, SCK
10 SSEL O PP GPIO 19 SPI Bus, CS



UEXT2
Pin Name I/O Logic - - notes
1 3.3 V S S +3.3 volt
2 GND S S Ground
3 TXD O PP sc16is752 UART0 Tx parallel to RS-485
4 RXD I PP sc16is752 UART0 Rx parallel to RS-485
5 SCL O OD GPIO 51 I2C, SCL
6 SDA I/O OD GPIO 53 I2C, SDA
7 MISO I PP SPI Bus, MISO
8 MOSI O PP SPI Bus, MOSI
9 SCK O PP SPI Bus, SCK
10 SSEL O PP GPIO 91 SPI Bus, CS


Порты 3,4 (UART) разъёма UEXT2 подключены к чипу SC16IS752 и присутствуют только в модификациях с этим чипом (опции GPS или RS-485). Эти порты подключены параллельно трансиверу RS-485, их невозможно использовать одновременно с RS-485.

Ссылки

Шаблон:Portal box