PymateIO-Expansion-Connector: Difference between revisions
Jump to navigation
Jump to search
| (3 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
Some other expansion (like Ethernet) relies on SPI bus. Some extra pin may also be reconfigured to support the target expansion. | Some other expansion (like Ethernet) relies on SPI bus. Some extra pin may also be reconfigured to support the target expansion. | ||
{{dbox-red|Do not sacrifice the I2C bus to convert the I2C4_SDA and I2C4_SCL lines into GPIOs!}} | |||
{{dbox-red|Do not sacrifice the I2C bus to convert | |||
Indeed, I2C can be used to add a GPIO expander (mcp23017, mcp23008, pcf9536, tca9554a) controlling additional GPIOs. | Indeed, I2C can be used to add a GPIO expander (mcp23017, mcp23008, pcf9536, tca9554a) controlling additional GPIOs. | ||
The GPIO expander can be used for additional input/output, new nss lines for the SPI bus, digital switch activation for UART and much more! | |||
== Expansion Connector == | == Expansion Connector == | ||
| Line 24: | Line 23: | ||
!Name | !Name | ||
!Type | !Type | ||
!Volt. | |||
range | |||
!Description | !Description | ||
|- | |- | ||
| Line 29: | Line 30: | ||
|/SRST | |/SRST | ||
| | | | ||
|3V3 | |||
|Placed LOW when reset is activated. | |Placed LOW when reset is activated. | ||
|- | |- | ||
| Line 34: | Line 36: | ||
|GND | |GND | ||
|Power | |Power | ||
| | |||
|Common Ground | |Common Ground | ||
|- | |- | ||
| Line 39: | Line 42: | ||
|I2C4_SCL | |I2C4_SCL | ||
|I2C | |I2C | ||
|I2C Bus clock signal | |3V3 | ||
|I2C Bus clock signal | |||
|- | |- | ||
|4 | |4 | ||
|I2C4_SDA | |I2C4_SDA | ||
|I2C | |I2C | ||
|I2C Bus data signal | |3V3 | ||
|I2C Bus data signal | |||
|- | |- | ||
|5 | |5 | ||
|I2C4_SMB | |I2C4_SMB | ||
|GPIO | |GPIO | ||
|3V3 | |||
|Can be used as GPIO, Interrupt Pin, OneWire, second SPI bss. | |Can be used as GPIO, Interrupt Pin, OneWire, second SPI bss. | ||
Usage depends on connected expansion. | Usage depends on connected expansion. | ||
| Line 55: | Line 61: | ||
|SPI1_MOSI | |SPI1_MOSI | ||
|SPI | |SPI | ||
|3V3 | |||
|SPI Master Out data line | |SPI Master Out data line | ||
|- | |- | ||
| Line 60: | Line 67: | ||
|SPI1_MISO | |SPI1_MISO | ||
|SPI | |SPI | ||
|3V3 | |||
|SPI Master In data line | |SPI Master In data line | ||
|- | |- | ||
| Line 65: | Line 73: | ||
|SPI1_SCK | |SPI1_SCK | ||
|SPI | |SPI | ||
|3V3 | |||
|SPI Clock line | |SPI Clock line | ||
|- | |- | ||
| Line 70: | Line 79: | ||
|SPI1_NSS | |SPI1_NSS | ||
|GPIO | |GPIO | ||
|3V3 | |||
|GPIO also used as SPI Slave Select line | |GPIO also used as SPI Slave Select line | ||
|- | |- | ||
| Line 75: | Line 85: | ||
|TX | |TX | ||
|UART | |UART | ||
|3V3 | |||
| | | | ||
|- | |- | ||
| Line 80: | Line 91: | ||
|RX | |RX | ||
|UART | |UART | ||
|3V3 | |||
| | | | ||
|- | |- | ||
| Line 85: | Line 97: | ||
|CANL | |CANL | ||
|CAN | |CAN | ||
|5V | |||
|Same line as CANL connector. | |Same line as CANL connector. | ||
'''CAN is the main interface bus for Pymate expansion.''' | '''CAN is the main interface bus for Pymate expansion.''' | ||
| Line 91: | Line 104: | ||
|CANH | |CANH | ||
|CAN | |CAN | ||
|5V | |||
|Same line as CANH connector. | |Same line as CANH connector. | ||
|- | |- | ||
| Line 96: | Line 110: | ||
|GND | |GND | ||
|Power | |Power | ||
| | |||
|Common Ground | |Common Ground | ||
|- | |- | ||
| Line 101: | Line 116: | ||
|5V | |5V | ||
|Power | |Power | ||
|5V 1A | |5V | ||
|Power source (1A max) | |||
|} | |} | ||
{{PYMATE-TRAILER}} | {{PYMATE-TRAILER}} | ||
Latest revision as of 00:34, 7 July 2026
Abstract
The Pymate Expansion connector is used to connect Pymate expansion board to Pymate Core.
Most of the expansion (like 16ADI16DO) relies on the CAN bus.
Some other expansion (like Ethernet) relies on SPI bus. Some extra pin may also be reconfigured to support the target expansion.
Do not sacrifice the I2C bus to convert the I2C4_SDA and I2C4_SCL lines into GPIOs!
Indeed, I2C can be used to add a GPIO expander (mcp23017, mcp23008, pcf9536, tca9554a) controlling additional GPIOs.
The GPIO expander can be used for additional input/output, new nss lines for the SPI bus, digital switch activation for UART and much more!
Expansion Connector
| Pin | Name | Type | Volt.
range |
Description |
|---|---|---|---|---|
| 1 | /SRST | 3V3 | Placed LOW when reset is activated. | |
| 2 | GND | Power | Common Ground | |
| 3 | I2C4_SCL | I2C | 3V3 | I2C Bus clock signal |
| 4 | I2C4_SDA | I2C | 3V3 | I2C Bus data signal |
| 5 | I2C4_SMB | GPIO | 3V3 | Can be used as GPIO, Interrupt Pin, OneWire, second SPI bss.
Usage depends on connected expansion. |
| 6 | SPI1_MOSI | SPI | 3V3 | SPI Master Out data line |
| 7 | SPI1_MISO | SPI | 3V3 | SPI Master In data line |
| 8 | SPI1_SCK | SPI | 3V3 | SPI Clock line |
| 9 | SPI1_NSS | GPIO | 3V3 | GPIO also used as SPI Slave Select line |
| 10 | TX | UART | 3V3 | |
| 11 | RX | UART | 3V3 | |
| 12 | CANL | CAN | 5V | Same line as CANL connector.
CAN is the main interface bus for Pymate expansion. |
| 13 | CANH | CAN | 5V | Same line as CANH connector. |
| 14 | GND | Power | Common Ground | |
| 15 | 5V | Power | 5V | Power source (1A max) |
PymateIO all right reserved © 2026 - Written by MCHobby for PymateIO