UEXT-разъемы/en: различия между версиями
(Новая страница: «==Technical specifications== thumb|UEXT pinout for [[Insulation-displacement connector|IDC connector<br/>(looking into connector on host bo…») |
|||
(не показано 6 промежуточных версий этого же участника) | |||
Строка 10: | Строка 10: | ||
==UEXT- | ==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.''' | ||
Строка 22: | Строка 22: | ||
! Pin !! Name !! I/O !! Logic !! - !! - | ! Pin !! Name !! I/O !! Logic !! - !! - | ||
|- | |- | ||
| 1 || 3. | | 1 || 3.3 V || S || S || +3.3 volt | ||
|- | |- | ||
| 2 || GND || S || S || Ground | | 2 || GND || S || S || Ground | ||
|- | |- | ||
| 3 || | | 3 || TxD || O || PP || style="background: cyan" | [[Debug UART/en]] Tx | ||
|- | |- | ||
| 4 || RXD || I || PP || style="background: cyan" | [Debug UART]] Rx | | 4 || RXD || I || PP || style="background: cyan" | [Debug UART/en]] Rx | ||
|- | |- | ||
| 5 || SCL || O || OD || style="background: orange" | | | 5 || SCL || O || OD || style="background: orange" | Hardware I<sup>2</sup>C, SCL | ||
|- | |- | ||
| 6 || SDA || I/O || OD || style="background: orange" | | | 6 || SDA || I/O || OD || style="background: orange" | Hardware I<sup>2</sup>C, SDA | ||
|- | |- | ||
| 7 || MISO || I || PP || style="background: yellow" | | | 7 || MISO || I || PP || style="background: yellow" | SPI Bus, MISO | ||
|- | |- | ||
| 8 || MOSI || O || PP || style="background: yellow" | | | 8 || MOSI || O || PP || style="background: yellow" | SPI Bus, MOSI | ||
|- | |- | ||
| 9 || SCK || O || PP || style="background: yellow" | | | 9 || SCK || O || PP || style="background: yellow" | SPI Bus, SCK | ||
|- | |- | ||
| 10 || SSEL || O || PP || style="background: yellow" | [[Работа с GPIO|GPIO]] [[Список GPIO|19]] || | | 10 || SSEL || O || PP || style="background: yellow" | [[Работа с GPIO/en|GPIO]] [[Список GPIO|19]] || SPI Bus, CS | ||
|} | |} | ||
Строка 49: | Строка 49: | ||
|+<big>UEXT2</big> | |+<big>UEXT2</big> | ||
|- | |- | ||
! Pin !! Name !! I/O !! Logic !! - !! - !! | ! Pin !! Name !! I/O !! Logic !! - !! - !! notes | ||
|- | |- | ||
| 1 || 3. | | 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 || || | | 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 || || | | 4 || RXD || I || PP || style="background: cyan" | [[SC16IS752|sc16is752 UART0]] Rx || || parallel to RS-485 | ||
|- | |- | ||
| 5 || SCL || O || OD || style="background: orange" | | | 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" |[[ | | 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" | | | 7 || MISO || I || PP || style="background: yellow" | SPI Bus, MISO | ||
|- | |- | ||
| 8 || MOSI || O || PP || style="background: yellow" | | | 8 || MOSI || O || PP || style="background: yellow" | SPI Bus, MOSI | ||
|- | |- | ||
| 9 || SCK || O || PP || style="background: yellow" | | | 9 || SCK || O || PP || style="background: yellow" | SPI Bus, SCK | ||
|- | |- | ||
| 10 || SSEL || O || PP || style="background: yellow" | [[Работа с GPIO|GPIO]] [[Список GPIO|91]] || | | 10 || SSEL || O || PP || style="background: yellow" | [[Работа с GPIO/en|GPIO]] [[Список GPIO|91]] || SPI Bus, 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). | |||
These ports are connected in parallel to the transceiver [[RS-485/en]] and cannot be used simultaneously with [[RS-485/en]]. | |||
== | ==Links== | ||
* [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] |
Текущая версия на 10:15, 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-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.
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 |
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 |
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).
These ports are connected in parallel to the transceiver RS-485/en and cannot be used simultaneously with RS-485/en.