From cde936eb60d8d35cad77b91a81e9512d3d109af4 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 1 Dec 2021 09:23:38 -0800 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fc3b2aa4..2005a49a 100644 --- a/README.md +++ b/README.md @@ -140,9 +140,9 @@ sda=,scl=[,port=0|1][,speed=] ### SPI The esp32 has 4 SPI sub-systems, one is unaccessible so numbering is 0..2 and SPI0 is reserved for Flash/PSRAM. The NVS parameter "spi_config" set the spi's gpio used for generic purpose (e.g. display). Leave it blank to disable SPI usage. The DC parameter is needed for displays. Syntax is ``` -data|mosi=,clk=[,dc=][,host=1|2][,miso=] +data|mosi=,clk=[,dc=][,host=1][,miso=] ``` -Default "host" is 1. The "miso" parameter is only used when SPI bus is to be shared with other peripheral (e.g. ethernet, see below), otherwise it can be omitted. Note that "data" can also be named "mosi". +Default and only "host" is 1 as others are used already by flash and spiram. The "miso" parameter is only used when SPI bus is to be shared with other peripheral (e.g. ethernet, see below), otherwise it can be omitted. Note that "data" can also be named "mosi". ### DAC/I2S The NVS parameter "dac_config" set the gpio used for i2s communication with your DAC. You can define the defaults at compile time but nvs parameter takes precedence except for SqueezeAMP and A1S where these are forced at runtime. Syntax is ``` @@ -258,7 +258,7 @@ Each expander (ONLY ONE FOR NOW) can support up to 32 GPIO. To use an expander f The parameter "gpio_exp_config" supports the following syntax: ``` -model=,addr=,[,port=][,base=][,count=][,intr=] +model=,addr=,[,port=system|dac][,base=|100][,count=|16][,intr=] ``` - model: pca9535 (only tested today), pca85xx (untested) and mcp23017 (soon) - addr: inthe i2c address decimal