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

Материал из Wiren 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 corr…»)
(не показаны 4 промежуточные версии этого же участника)
Строка 22: Строка 22:
! Pin !! Name !! I/O !! Logic !! - !! -
! Pin !! Name !! I/O !! Logic !! - !! -
|-
|-
| 1 || 3.3 V || S || S || +3.3 volt
| 1 || 3.3V || S || S || +3.3 volt
|-
|-
| 2 || GND || S || S || Ground
| 2 || GND || S || S || Ground
|-
|-
| 3 || TxD || O || PP || style="background: cyan" | [[Debug UART/en]] Tx  
| 3 || TXD || O || PP || style="background: cyan" | [[Debug UART]] Tx  
|-
|-
| 4 || RXD || I || PP || style="background: cyan" | [Debug UART/en]] Rx   
| 4 || RXD || I || PP || style="background: cyan" | [Debug UART]] Rx   
|-
|-
| 5 || SCL || O || OD || style="background: orange" | Hardware I<sup>2</sup>C, SCL  
| 5 || SCL || O || OD || style="background: orange" | Аппаратный I<sup>2</sup>C, SCL  
|-
|-
| 6 || SDA || I/O || OD || style="background: orange" | Hardware I<sup>2</sup>C, SDA  
| 6 || SDA || I/O || OD || style="background: orange" | Аппаратный I<sup>2</sup>C, SDA  
|-
|-
| 7 || MISO || I || PP || style="background: yellow" | SPI Bus, MISO  
| 7 || MISO || I || PP || style="background: yellow" | Шина SPI, MISO  
|-
|-
| 8 || MOSI || O || PP || style="background: yellow" | SPI Bus, MOSI  
| 8 || MOSI || O || PP || style="background: yellow" | Шина SPI, MOSI  
|-
|-
| 9 || SCK || O || PP || style="background: yellow" | SPI Bus, SCK  
| 9 || SCK || O || PP || style="background: yellow" | Шина SPI, SCK  
|-
|-
| 10 || SSEL || O || PP || style="background: yellow" | [[Работа с GPIO/en|GPIO]] [[Список GPIO|19]] || SPI Bus, CS
| 10 || SSEL || O || PP || style="background: yellow" | [[Работа с GPIO|GPIO]] [[Список GPIO|19]] || Шина SPI, CS
|}
|}


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




Ports 3,4 (UART) of the UEXT2 connector are connected to the chip [[SC16IS752/en]] and are present only in modifications with this chip (GPS or RS-485 options).  
Порты 3,4 (UART) разъёма UEXT2 подключены к чипу [[SC16IS752]] и присутствуют только в модификациях с этим чипом (опции GPS или RS-485).  
These ports are connected in parallel to the transceiver [[RS-485/en]] and cannot be used simultaneously with [[RS-485/en]].
Эти порты подключены параллельно трансиверу [[RS-485]], их невозможно использовать одновременно с [[RS-485]].


==Links==
==Ссылки==
{{Portal box|Electronics}}
* [https://www.olimex.com/Products/Modules/UEXT/ UEXT connector webpage]
* [https://www.olimex.com/Products/Modules/UEXT/ UEXT connector webpage]
* [https://www.olimex.com/Products/Modules/UEXT/resources/UEXT_rev_B.pdf UEXT specification]
* [https://www.olimex.com/Products/Modules/UEXT/resources/UEXT_rev_B.pdf UEXT specification]
* [http://www.olimex.com OLIMEX Ltd]
* [http://www.olimex.com OLIMEX Ltd]

Версия 21:07, 18 июля 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.3V S S +3.3 volt
2 GND S S Ground
3 TXD O PP Debug UART Tx
4 RXD I PP [Debug UART]] Rx
5 SCL O OD Аппаратный I2C, SCL
6 SDA I/O OD Аппаратный I2C, SDA
7 MISO I PP Шина SPI, MISO
8 MOSI O PP Шина SPI, MOSI
9 SCK O PP Шина SPI, SCK
10 SSEL O PP GPIO 19 Шина SPI, CS



UEXT2
Pin Name I/O Logic - - примечания
1 3.3V S S +3.3 volt
2 GND S S Ground
3 TXD O PP sc16is752 UART0 Tx параллельно RS-485
4 RXD I PP sc16is752 UART0 Rx параллельно RS-485
5 SCL O OD GPIO 51 I2C, SCL
6 SDA I/O OD GPIO 53 I2C, SDA
7 MISO I PP Шина SPI, MISO
8 MOSI O PP Шина SPI, MOSI
9 SCK O PP Шина SPI, SCK
10 SSEL O PP GPIO 91 Шина SPI, CS


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

Ссылки

Шаблон:Portal box