The MCP23S17 connector in the node can be added in the device tree of the KCH Control ARM VFP Linux under the SPI.
The MCP23S17 device family provides 16-bit, general purpose parallel I/O expansion for SPI applications.
Parameters
|
Parameter |
Description |
|---|---|
|
Hardware Address |
Hardware Address ot the device |
|
Inputs of GPIOA |
if bit is set, GPIO is setup as input |
|
Inputs of GPIOB |
if bit is set, GPIO is setup as input |
|
Pullup active for GPIOA |
if bit is set, pull-up resistor for corresponding input ist active |
|
Pullup active for GPIOB |
if bit is set, pull-up resistor for corresponding input ist active |
With the new node there are read/write variables available.
|
Variable |
Description |
|---|---|
|
MCP23S17.byInputsA |
Reads the GPIOA |
|
MCP23S17.byInputsB |
Reads the GPIOB |
|
MCP23S17.byOutputsA |
Writes the GPIOA |
|
MCP23S17.byOutputsB |
Writes the GPIOB |
Hardware
The MCP23S17 can only used on own SOM Hardware with a specific Linux Device Tree File, where a spidev node is defined.