|
@@ -260,7 +260,7 @@ The parameter "gpio_exp_config" is a semicolon (;) separated list with following
|
|
|
```
|
|
|
model=<model>,addr=<addr>,[,port=system|dac][,base=<n>|100][,count=<n>|16][,intr=<gpio>][,cs=<gpio>][,speed=<Hz>]
|
|
|
```
|
|
|
-- model: pca9535, pca85xx (untested), mcp23017 and mcp23s17 (SPI version)
|
|
|
+- model: pca9535, pca85xx, mcp23017 and mcp23s17 (SPI version)
|
|
|
- addr: chip i2c/spi address (decimal)
|
|
|
- port (I2C): use either "system" port (shared with display for example) or "dac" port (system is default)
|
|
|
- cs (SPI): gpio used for Chip Select
|
|
@@ -269,7 +269,7 @@ model=<model>,addr=<addr>,[,port=system|dac][,base=<n>|100][,count=<n>|16][,intr
|
|
|
- count: number of GPIO of expander (default 16 - might be obsolted if model if sufficient to decide)
|
|
|
- intr: real GPIO to use as interrupt.
|
|
|
|
|
|
-Note that PWM ("led_brightness" below) is not supported for expanded GPIOs and they cannot be used for high speed or precise timing signals like CS, D/C, Reset and Ready. Buttons, rotary encoder, amplifier control and power are supported. Depending on the actual chipset, pullup or pulldown might be supported so you might have to add external resistors (only MCP23x17 does pullup).
|
|
|
+Note that PWM ("led_brightness" below) is not supported for expanded GPIOs and they cannot be used for high speed or precise timing signals like CS, D/C, Reset and Ready. Buttons, rotary encoder, amplifier control and power are supported. Depending on the actual chipset, pullup or pulldown might be supported so you might have to add external resistors (only MCP23x17 does pullup). The pca8575 is not a great chip, it generate a fair bit of spurious interrupts when used for GPIO out.
|
|
|
### LED
|
|
|
See §**set_GPIO** for how to set the green and red LEDs. In addition, their brightness can be controlled using the "led_brigthness" parameter. The syntax is
|
|
|
```
|